The lastIndexOf method returns the position of the last occurrence of a specified value in a string.
System.Int32 lastIndexOf(System.String searchvalue, System.Int32 start);
searchvalue
String to search for
start
[Optional] Index position to start the search. Default 0.
Returns the position of the last occurrence, or -1 if the string doesn't exist.
Member of string.