MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Compare Revisions

String.prototype.lastIndexOf()

Change Revisions

Revision 62470:

Revision 62470 by Dria on

Revision 62471:

Revision 62471 by Anonymous on

Title:
lastIndexOf
lastIndexOf
Slug:
JavaScript/Reference/Global_Objects/String/lastIndexOf
JavaScript/Reference/Global_Objects/String/lastIndexOf
Tags:
"String Methods"
"String Methods"
Content:

Revision 62470
Revision 62471
t67      Characters in a string are indexed from left to right. The t67      Characters in a string are indexed from left to right. The 
>index of the first character is 0, and the index of the last char>index of the first character is 0, and the index of the last char
>acter is &lt;code.stringName.length - 1&lt;/code&gt;.>acter is <code>stringName.length - 1</code>.

Back to History