Share via


CString::ReverseFind

intReverseFind(TCHARch**)const;**

Return Value

The index of the last character in this CString object that matches the requested character; –1 if the character is not found.

Parameters

ch

The character to search for.

Remarks

Searches this CString object for the last match of a substring. The function is similar to the run-time function strrchr.

Example

// Example for CString::ReverseFind
CString s( "abcabc" );
ASSERT( s.ReverseFind( 'b' ) == 4 );

CString OverviewClass MembersHierarchy Chart

See Also   CString::Find, CString::FindOneOf