TagIndex Property

Returns or sets the index of the current tag when there are multiple tags in the Pattern string.

Syntax

[form!]VSFlexString.TagIndex[ = value As Long ]

Remarks

Tags are parts of the search pattern delimited with curly braces ("{}"). Using tags allow you to refer to parts of each match. Setting TagIndex to a value between zero and TagCount - 1 defines the current tag to be used by the TagString, TagStart, and TagLength properties.

Alternatively, you may specify the TagIndex as an index when you read the TagString property.

For an example, see the TagString property.

Data Type

Long

See Also

VSFlexString Control