原创 基礎字符串操作

字符串的一些簡單STL用法記一下… 在字符串1裏面找字符串2 int can(string str1,string a,int x){ return str1.find_first_of(a,x); }如果沒找到返回值就是-1,