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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |