Click or drag to resize

StringUtilsCharCount Method

Count the number of instances of the specified character in the specified string.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static int CharCount(
	string s,
	char ch
)

Parameters

s
Type: SystemString
The string to search.
ch
Type: SystemChar
The character for which to search.

Return Value

Type: Int32
The count of specified characters in the string.
See Also