Navigation:  thinBasic Modules > VBRegExp >

VBMatchCollection_GetItem

Previous pageReturn to chapter overviewNext page

 

Description

 

Giving a match collection, retrieves a reference to a Match object at the given index.

 

Syntax

 

pMatch = VBMatchCollection_GetItem(pMatchCollection, lIndex)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

pMatchCollection

Numeric

No

A match collection reference pointer retuned by VBRegExp_Execute or equivalent function

lIndex

Numeric

No

Index of the item to be retrieved

 

Remarks

 

Restrictions

 

See also

 

Examples