| 358 | } |
| 359 | |
| 360 | std::pair<string_view, string_view> split_string(string_view last, char const sep) |
| 361 | { |
| 362 | auto const pos = last.find(sep); |
| 363 | if (pos == string_view::npos) return {last, {}}; |
| 364 | else return {last.substr(0, pos), last.substr(pos + 1)}; |
| 365 | } |
| 366 | |
| 367 | std::pair<string_view, string_view> split_string_quotes(string_view last, char const sep) |
| 368 | { |