Method lastIndexOf(String str, int fromIndex)
Return type: int
Member of: java.lang.String
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 while( (i=v.lastIndexOf(c, --i)) != -1 ){
2 int ix = s.lastIndexOf('/',s.length()-2);
3 int j = url.lastIndexOf( "/", i-1 );
4 int from = (escapedURI.lastIndexOf("#", at) > 0) ?
5 index = path.lastIndexOf ("[1]", start);
6 int from = (escapedURI.lastIndexOf("?", at) > 0) ?
7 at >= 0 ? (uri.lastIndexOf("/", at - 1) >= 0 ? 0 : at + 2) : 0
8 int cdataStart = text.lastIndexOf( "
9 int startPos = aName.lastIndexOf("/", endPos) +1;
10 int start = record.lastIndexOf(ATTRIBUTE_DELIMITER, index - 1);
11 int start = newWherePart.lastIndexOf(" AND ", pos);
12 while( ( idx=original.lastIndexOf(find, idx-1) ) > -1 )
13 i = mainString.lastIndexOf(oldString, i - 1);
14 int start = classpath.lastIndexOf(File.pathSeparator, index) + 1;
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.