中国开发网: 论坛: 超级垃圾站: 贴子 741846
leejd
Examples
Examples
Converting a space-delimited list into a comma-delimited list
std::string inputString = " the quick brown taco crunches";

std::vector<std::string> tokens;

pystring::split(inputString, tokens);

std::string outputString = pystring::join(",", tokens);
The result is "the,quick,brown,taco,crunches".

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录