string :操作总结

创:assign,getline,

 

增:append,insert,push_back

 

查:at ,begin,capacity,data,empty,end,find find_first_not_of find_first_of find_last_not_of find_last_of length max_size rbegin rend rfind size substr

 

改:replace  reserve resize swap

 

转:c_str,copy

 

删:clear,erase,

 

比:compare

你可能感兴趣的:(C++,c,C#)