Name

strch —

Synopsis

string strch(str, ch);
string str;
char ch;

Description

Locates the first occurrence of char ch in string str

Parameters

str

The string to search in

ch

The character to search for

Returns

A copy of string str starting from the first occurrence until end, or an empty string if ch was not found

See Also

method.ansi.strrch