[阅读: 765] 2009-08-01 02:25:27
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".