Javascript Reference
Categories: String

javascript String lastIndexOf( )

@March 15, 2008, 1:22 a.m.
lastIndexOf( )Firefox/Netscape/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
 
  • A string to look for in the current string object.
  • A zero-based integer indicating the position within the current string object to begin the search of the first parameter. Even though the search starts from the end of the string, this parameter value is relative to the front of the string.
 
Returned Value

Integer.

order lipitor 40mg without prescription <a href="https://lipiws.top/">buy generic atorvastatin</a> lipitor 20mg brand
Oaqizn - 1 months
brand lipitor <a href="https://lipiws.top/">atorvastatin sale</a> cost lipitor
Rrqkde - 1 months
Hi HI
Timmydex - 2017-09-22

Powered by Linode.