Click or drag to resize
StringExtrasGetFirstRepetition Method
get first block of repetitions in string

Namespace: ANDREICSLIB.ClassExtras
Assembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Tuple<int, int, int> GetFirstRepetition(
	string instr,
	string pattern,
	int minCount = 2
)

Parameters

instr
Type: SystemString
pattern
Type: SystemString
minCount (Optional)
Type: SystemInt32

Return Value

Type: TupleInt32, Int32, Int32
count,start position, end pos - must be more than mincount
See Also