CString::ReverseFind int ReverseFind( TCHAR ch ) const;Return ValueThe index of the last character in this CString object that matches the requested character; –1 if the character is not found.ParameterschThe character to search for.ResSearches 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 );
int ReverseFind( TCHAR ch ) const;Return ValueThe index of the last character in this CString object that matches the requested character; –1 if the character is not found.ParameterschThe character to search for.ResSearches 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 );