Click or drag to resize
OGUtilitiesCount Method (String, Char)
Counts the number of occurrences of a character pattern in a string.

Namespace: Stingray.Grid
Assembly: Stingray.GridUtils (in Stingray.GridUtils.dll) Version: 14.0.0.0
Syntax
public static int Count(
	string s,
	char pat
)

Parameters

s
Type: SystemString
Input string.
pat
Type: SystemChar
Pattern to count in the source string.

Return Value

Type: Int32
Number of occurrences of the pattern in the input string.
See Also