IRegexMatch.Index

Syntax

Index: Integer;

Description

The Index property returns position of the first occurrence of regular expression in text.

Comments

If the text corresponding to the regular expression is not found, the property returns -1.

Example

The property use is given in the example for IRegex.Match.

See also:

IRegexMatch