Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

int GBaseString::rsearch ( const char *  str,
const int  from = 0 
) const [inline, inherited]

Searches sub-string str# in the string, starting at position from# and scanning backwards until reaching the beginning of the string. This function returns the position of the first matching character of the sub-string. It returns #-1# if string str# cannot be found.

Definition at line 1298 of file GString.h.

{ return ptr?((*this)->rsearch(str,from)):(-1); }

Generated by  Doxygen 1.6.0   Back to index