Returns the index within the specified string of the first occurence of the specified substring, starting at the specified index.
Parameters:
str
search
fromIndex
lastIndexOf()
You may call this function in a method-like style, e.g.:
str.indexOf("blah",5)