摘要:
查找(find)语法: size_type find( const basic_string &str, size_type index ); size_type find( const char *str, size_type index ); size_type find( const char *str, size_type index, size_type length ); size_type find( char ch, size_type index ); find()函数: 返回str在字符串中第一次出现的位置(从index开始查找)。如果没找到则返回string::. 阅读全文