int lastIndexOfString (String s1, int fromIndex, String s2)
int lastIndexOfString (String s1, int fromIndex, String s2)
s1
of the
last occurrence of the String s2
.Name | Type | Description |
---|---|---|
s1 | String | A String to search. |
fromIndex | int | The index within s1 to begin the search. |
s2 | String | A String to search for within the String s1 . |
Type | Description |
---|---|
int | The index within the String s1 of the
last occurrence of the String s2 . |