strch —
string strch(str, ch);string str;char ch;
string strch(
)
Locates the first occurrence of char ch in string str
Parameters
The string to search in
The character to search for
A copy of string str starting from the first occurrence until end, or an empty string if ch was not found
method.ansi.strrch