| 35 | }; |
| 36 | |
| 37 | std::vector<std::string> SplitValues(const std::string& values) { |
| 38 | std::vector<std::string> split; |
| 39 | size_t start = 0; |
| 40 | while (start <= values.size()) { |
| 41 | const size_t end = values.find(' ', start); |
| 42 | split.push_back(values.substr(start, end - start)); |
| 43 | if (end == std::string::npos) { |
| 44 | break; |
| 45 | } |
| 46 | start = end + 1; |
| 47 | } |
| 48 | return split; |
| 49 | } |
| 50 | |
| 51 | std::vector<std::string> SplitCharacters(const std::string& text) { |
| 52 | std::vector<std::string> characters; |
no test coverage detected