
contains()
The contains() function tests whether the first argument string contains the second. Any non-string arguments are converted to strings using the rules for the string() function.
boolean contains(string1, string2)
- Two strings.
- If the first string contains the second, returns a boolean true. Any thing else results in false.
|
Send comments on this document to
devdoc-feedback@netscape.com |