VSFlexString Control > VSFlexString Properties, Events, and Methods > VSFlexString Properties > MatchStart Property |
Returns the zero-based position of the current match within the Text string.
val& = [form!]VSFlexString.MatchStart([ MatchIndex As Long ])
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.
Long