美文网首页
R&D data and information for boo

R&D data and information for boo

作者: scott_yu779 | 来源:发表于2018-03-05 13:44 被阅读0次

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); //将连续的字符串切分为多个独立的字符串,并形成字符串向量。

相关文章

网友评论

      本文标题:R&D data and information for boo

      本文链接:https://www.haomeiwen.com/subject/efzffftx.html