javascript String search( )
| search( ) | NN 4 IE 4 ECMA 3 |
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. |
|
| Parameters | |
|
|
| Returned Value | |
Integer. |
|
Previous: javascript String slice( )
1790,Nickname,Homepage or email,Comments here,Add comment
