Split a string on any of the given separator characters, returning strings.
Declared in <util/string.h>
[[nodiscard]]
std::vector<std::string>
SplitString(
std::string_view str,
std::string_view separators);
| Name | Description |
|---|---|
| str | Input string to split. |
| separators | Set of characters, any of which splits the input. |