int IndexOf(const string&in) const
Searches the string for the given substring and returns the index at which it starts. When it is not found, returns -1.
string
int