|
| auto | lib::rsplit (std::string_view s, std::string_view delim) noexcept -> std::pair< std::string_view, std::string_view > |
| | Split s at the last occurrence of delim.
|
| auto | lib::split (std::string_view s, std::string_view delim) noexcept -> std::pair< std::string_view, std::string_view > |
| | Split s at the first occurrence of delim.
|
|
auto | lib::trim (std::string_view s) noexcept -> std::string_view |
| | Trim leading and trailing whitespace (space, tab, newline, CR).
|
| auto | lib::unquote (std::string_view s) noexcept -> std::string_view |
| | Remove matching surrounding quotes from s.
|
Zero-allocation, high-performance string tokenizer.
SPDX-License-Identifier: Apache 2.0