Name

strrch —

Synopsis

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

Description

Locates the last 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 last occurrence until end, or an empty string if ch was not found

See Also

method.ansi.strch