cxxomfort
rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
cxxomfort Supplementals for <string>
This section provides supplementary features to the ones present in <string>
that are specific to cxxomfort.
chr()
, utf8chr()
- Conversion from integer/codepoint to character.codepoint()
- Conversion from character to integer/codepoint.string_cast()
- convert between string representations; overload point.join()
- Joins elements into a string.split_to()
, split_to_n()
- Split elements from a string.explode()
- Splits elements from a string into a std::vector.l_trim()
, r_trim()
, trim()
- Removes elements from a string's ends.string_replace
- Replace substrings in a string.string_pad
- Pad a string to length.to_string()
- Variadic version of to_string.All interfaces are defined in the namespace cxxomfort::algorithm::
.