Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CString::ReverseFind
CString                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  int ReverseFind( char ch ) const;
 
  Parameter   Description
 
  <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.
 
  Return Value
 
  The index of the last character in this CString object that matches the
  requested character; -1 if the character is not found.
 
  Example
 
  CString s( "abcabc" );
  ASSERT( s.ReverseFind( 'b' ) == 4 );
 
 
  See Also
 
  CString::Find, CString::FindOneOf
 
 
                                     -♦-