July 1998
Intermediate to advanced
1456 pages
65h 5m
English
search() — NN 4 IE J3 ECMA n/a
search(regexpression)Returns the zero-based indexed value of the first character in the
current string that matches the pattern of the
regexpression parameter. This method is
similar to the indexOf() method, but the search is
performed with a regular expression rather than a straight string.
Integer.
regexpression
A regular expression object. See the regular expression object for the syntax to create a regular expression object.
Read now
Unlock full access