标签:
string str = "abc def,ghi"; stringstream ss(str); string token; while (ss >> token) cout<<token<<endl;
output:abcdef,ghi
string split
原文地址:http://www.cnblogs.com/XingyingLiu/p/5117683.html