ptrdiff_t indexOfFirst(char c)
Return the index of the first occurrence of c in the input, or -1.
c
-1