javascript String lastIndexOf( )
| lastIndexOf( ) | NN 2 IE 3 ECMA 1 |
lastIndexOf(searchString[, startPositionIndex]) | |
|
Returns a zero-based integer of the position within the current string object where the searchString parameter starts. This method works like the indexOf( ) method but begins all searches from the end of the string or some index position. Even though searching starts from the end of the string, the startPositionIndex parameter is based on the start of the string, as is the returned value. If there is no match, the returned value is -1. |
|
| Parameters | |
|
|
| Returned Value | |
Integer. |
|
Previous: javascript String link( )
1785,Nickname,Homepage or email,Comments here,Add comment
