Click or drag to resize
StringExtrasContainsSubStringCount Method
count how many occurences of a substring occur in a string

Namespace: ANDREICSLIB.ClassExtras
Assembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static int ContainsSubStringCount(
	string instr,
	string substring
)

Parameters

instr
Type: SystemString
substring
Type: SystemString

Return Value

Type: Int32
See Also