Returns the index in the Text that matches the Regular Expression or 0 if no match found. The Len parameter will equal the number of characters in the Text that match the regular expression.
Note |
---|
The regular expression engine uses 1-indexed strings, not the new 0-indexed strings. |
Note |
---|
If the regular expression is empty (Expression = ''), the method will always return 0. |
Namespace: GRegularExpression
Delphi |
public |
Parameters
Text
Type: System.Void
Len
Type: Integer
MatchAllChars
Type: Boolean
Type: Integer