ReceiverExtensionsCountChar Method
Counts the number of occurrences of a specific character in a string.
Namespace: MobileTrack.Receiver.ExtensionsAssembly: MobileTrack.Receiver (in MobileTrack.Receiver.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static int CountChar(
string str,
char c
)
- str String
- String to count from
- c Char
- Character to look up
Int32Amount of found instances of
c in
str