lastindexOf Method
Purpose:
Returns the position of a substring in a string variable.
Syntax:
.lastindexof(substring)
Comments:
Returns the zero based index within the string for the last occurrence of the specified substring. Returns -1 if substring is not found.
Example:
abc = "eebbe"
p abc.lastindexof("e")
4