findEnd

fnint findEnd(IStr str, IStr item)

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

fnint findEnd(IStr str, char item)

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