c++中string find函数的使用

http://www.cplusplus.com/reference/string/string/find/html string (1)从位置pos开始,找字符串str,返回匹配首字符的位置,没找到返回string::npos size_t find (const string& str, size_t pos = 0) const noexcept; c-string (2)从位置pos开始,
相关文章
相关标签/搜索