Text Property (VSFlexString)

Returns or sets the text to be scanned searching for the Pattern string.

Syntax

[form!]VSFlexString.Text[ = value As String ]

Remarks

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.

Data Type

String

See Also

VSFlexString Control