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.8+f6fd7a919db8417bc1e7bfd9b2ff9ab9586e296a
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