Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::bstrrchr ( const P6BCSTR pbcsStr,
P6INT16  c,
P6BCSTR pRetPtr 
)
pure virtual

Finds the last occurance of c in string,.

Parameters
pbcsStr[ in ] A pointer to the P6BCSTR to be searched.
c[ in ] The character to search for.
pRetPtr[ out ] A pointer to a P6BCSTR that on success will have the pString member set to point at the matching character, and length member will be set to the length of the P6BCSTR from the matching character to the end of the P6BCSTR being searched. On failure, the pString member will be set to NULL and the length to zero.
Returns
SuccessP6R::eOkIndicates that the search completed succesffully and that a match was found.
FailureP6R::eInvalidArgpbcsStr or pRetPtr is NULL
P6R::eNotFoundc was not found in pbcsStr