442                                 . STL   

 int compare(const string& str, size_t pos = 0,
size_t n = npos) const;

      ,    , 
 str.  ,   ;    -
     , , 
        str. -
       :

int compare(const char* p, size_t pos, size_t n) const;

int compare(const char* p, size_t pos) const;

int compare(char c, size_t pos, size_t rep = 1) const;

   ,         -
   .

  -   .   
,      .

 size_t find(const string& str, size_t pos = 0) const;

      pos    str. 
 ,  ,    ;   -
   npos,   .

       :

size_t find(const char* p, size_t pos, size_t n) const;

size_t find(const char* p, size_t pos = 0) const;

size_t find(char c, size_t pos = 0) const;

   ,         
  .        
   .

 - string

size_t rfindfstr, pos = npos) const;      find (),  
size_t rfind(p, pos, n) const;             
size_t rfind(p, pos = npos) consc;       
size_t r?ind(c, pos = npos) const;        

size_t find_first_of                       

(str, pos = 0) const;                  
size_t find_first_of                        

(p, pos, n) const;                    ,  str,char*

size_t find_first_of                    p  char c

(p, pos = 0) const;

size_t find_first_of

(c, pos = 0) const;

size_t ?ind_last_of                      ,  

(str, pos = npos) const;              
size_t find_last_of

(p, pos, n) const;