R&D data and information for boo

2018-03-05  本文已影响0人  scott_yu779

res and tool

split

string resultStr;
vector<string> originStr;
//按照逗号 ","将resultStr进行分割,分割完毕后的向量赋值到originStr
boost::split(originStr, resultStr, boost::is_any_of(INFORMATION_FLAG), boost::token_compress_on); //将连续的字符串切分为多个独立的字符串,并形成字符串向量。

上一篇 下一篇

猜你喜欢

热点阅读