INDEXOF

Returns the index within the calling String object of the first occurrence of the specified value, starting the search at fromIndex, or -1 if the value is not found.

Syntax

INDEXOF(searchValue, fromIndex)