size_type find( const basic_string& str, size_type pos = 0 ) const; (1) size_type find( const CharT* s, size_type pos, size_type count ) const; (2) size_type find( const CharT* s, size_type pos = 0 ) const; (3) size_type find( CharT ch, size_type pos = 0 ) const; (4)
Finds the first substring equal to the given character sequence. Search begins at pos, i.e. the found substring must not begin in a position preceding pos.
1) Finds the first substring equal to str.