Last time I showed how to get the number of occurrences of each character in a string but how do you count the occurrence of given character in a string?
You use one of the fundamental concepts on which PowerShell is built – its composability. In… Read the full text.