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

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

Parameters:
theChar - character 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 514 of file CATString.cpp.

References CATASSERT, fAsciiLocked, fUnicodeBuffer, and GetLength().


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