Warning: unpack(): Type V: not enough input values, need 4 values but only 0 were provided in /mnt/mydata/x/web/u_cndev/us-includes/3rdparty/secache/secache.php on line 74

Warning: Trying to access array offset on false in /mnt/mydata/x/web/u_cndev/us-includes/3rdparty/secache/secache.php on line 75
Examples <- 中国开发网
中国开发网: 论坛: 超级垃圾站: 贴子 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".

相关信息:


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