Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATString::ReverseFind
bool CATString::ReverseFind ( const CATString str,
CATUInt32 offset 
) const

ReverseFind() finds a substring in a string starting at the end.

Parameters:
str - substring to find
offset - offset to start search from -1 is a special value indicating "from the end of the string". Otherwise, the offset value returned will be the position within the string as in the Find functions above. e.g. offset == -1 has the same effect as offset==mystring.Length();
See also:
Find()

Definition at line 431 of file CATString.cpp.

References CATASSERT, fAsciiLocked, fLenDirty, fStrLen, fUnicodeBuffer, and LengthCalc().

Referenced by CATFileSystem::GetFileExtension(), SplitPath(), CATFileSystem::SplitPath(), and CATFileSystem::StripFileExtension().


Generated on Mon Feb 11 04:11:03 2008 for Game Accessibility Suite by doxygen 1.5.4