VSFlexString Control > VSFlexString Properties, Events, and Methods > VSFlexString Properties > Text Property (VSFlexString) |
Returns or sets the text to be scanned searching for the Pattern string.
[form!]VSFlexString.Text[ = value As String ]
This is the VSFlexString's default property.
Whenever a new string is assigned to the Text or Pattern properties, VSFlexString will scan the text looking for parts that fit the pattern.
To find out how many matches were found, read the MatchCount property. To retrieve information about each match, read the MatchLength, MatchStart, and MatchString properties.
If you assign new values to the MatchString property, the changes will be reflected in the contents of the Text property.
For details on how to build patterns, see the Pattern property.
String