Libraries anvil lang string lastIndexOf

int lastIndexOf(string needle)
int lastIndexOf(string needle, int fromIndex)
Returns the index within this string of the last occurrence of the specified string.
Parameters needle -  String to search for
fromIndex -  Starting index of search
Returns The index of last occurence, or -1 if it doesn't occur.