MatchStart Property

Returns the zero-based position of the current match within the Text string.

Syntax

val& = [form!]VSFlexString.MatchStart([ MatchIndex As Long ])

Remarks

Looking for a pattern in a string may result in several matches. You can retrieve information about each match using the MatchLength, MatchStart, and MatchString properties.

The optional parameter MatchIndex should be a number between zero and MatchCount - 1. The default value is the current value of the MatchIndex property.

For an example, see the MatchLength property.

Data Type

Long

See Also

VSFlexString Control