Previous PageNext Page

search Method

Searches a string for matches to a regular expression.

Syntax

stringObj.search(rgexp)

Arguments

stringObj
The name of a String object. Required
rgExp
A Regular Expression object containing the pattern to search for. Required.

Remarks

The search method indicates if a match is present or not. It returns True if a match is found, and False otherwise. To get further information, use the match method.


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page