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

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

Searches sub-string str# in the string, starting at position from# and scanning forward until reaching the end 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 1290 of file GString.h.

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

Generated by  Doxygen 1.6.0   Back to index