May 1995
Beginner
508 pages
16h 14m
English
RegExp.Global Property
Boolean
Determines whether the search for a pattern string should match all occurrences in the search string or just the first one.
A search will attempt to locate only the first occurrence of the
pattern string in a search string; that is, the default value of the
Global property is False. If you want to search
for all occurrences of the pattern string in the search string, you
must set the Global property to True.
If you’re interested only in determining whether the pattern
string exists in the search string, there’s no point in
overriding the Global property’s default value of
False.
Read now
Unlock full access