findStart

fnint findStart(IStr str, IStr item)

Finds the starting index of the first occurrence of the specified substring in the string, or returns -1 if not found.

fnint findStart(IStr str, char item)

Finds the starting index of the first occurrence of the specified character in the string, or returns -1 if not found.