find_first_of
语法: size_type find_first_of( const basic_ &str, size_type index = 0 );
size_type find_first_of( const char *str, size_type index = 0 );
size_type find_first_of( const char *str, size_type index, size_type num );
size_type find_first_of( char ch, size_type index = 0 );
find_first_of:
查找在串中第个和str中某个匹配返回它位置搜索从index开始如果没找到就返回::npos
查找在串中第个和str中某个匹配返回它位置搜索从index开始最多搜索num个如果没找到就返回::npos
查找在串中第个和ch匹配返回它位置搜索从index开始
最新评论