VBRegExp_SetGlobal

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > VBRegExp >

VBRegExp_SetGlobal

 

Description

 

Sets a Boolean value that indicates if a pattern should match all occurrences in an entire search string or just the first one.

 

Syntax

 

n = VBRegExp_SetGlobal(pReg, Global)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

pReg

Numeric

No

Regular expression handle created with VBRegExp_New function

Global

Numeric

No

The value of the Global property is True if the search applies to the entire string, False if it does not. Default is False

 

Remarks

 

Restrictions

 

See also

 

Examples