* Split text into multiple strings */
| 398 | * Split text into multiple strings |
| 399 | */ |
| 400 | RLCPP_MAYBEUNUSED RLCPPAPI std::vector<std::string> TextSplit(const std::string& text, char delimiter) { |
| 401 | int count; |
| 402 | const char* const* split = ::TextSplit(text.c_str(), delimiter, &count); |
| 403 | return std::vector<std::string>(split, split + count); |
| 404 | } |
| 405 | |
| 406 | /** |
| 407 | * Find first text occurrence within a string |