Libraries anvil lang string indexOf

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