String helpers: case, trimming, splitting, joining, replacing, parsing and hashing.
Definition Char.hpp:3
std::vector< std::string_view > splitStringView(std::string_view str, std::string_view delimiters)
Splits str into views, without copying: str must outlive them.
std::vector< std::string > splitStringWithQuotes(std::string_view str, std::string_view delimiters, char quote='\"')
Splits str, keeping the delimiters found between two quote characters and removing the quotes.
std::vector< std::string > splitString(std::string_view str, std::string_view delimiters)
Splits str into strings.
std::optional< T > parseNumber(std::string_view text, int base=10) noexcept
Parses text as a number, or returns std::nullopt if it is not entirely one.
Definition Convert.hpp:23