ReceiverExtensionsCountChar Method

Counts the number of occurrences of a specific character in a string.

Definition

Namespace: MobileTrack.Receiver.Extensions
Assembly: MobileTrack.Receiver (in MobileTrack.Receiver.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static int CountChar(
	string str,
	char c
)

Parameters

str  String
String to count from
c  Char
Character to look up

Return Value

Int32
Amount of found instances of c in str

See Also