Lines Matching defs:split
33 static std::vector<std::string> StringSplit(std::string source, const std::string &split = ",")
39 while ((pos = source.find(split)) != std::string::npos) {
40 // split
45 source.erase(0, pos + split.length());
54 static std::vector<int> StringSplitToInt(std::string source, const std::string &split = ",")
60 while ((pos = source.find(split)) != std::string::npos) {
61 // split
66 source.erase(0, pos + split.length());
461 const std::string split = ",";
464 result.append(split);