|
| size_t | MR::findSubstringCaseInsensitive (const std::string &string, const std::string &substring) |
| int | MR::calcDamerauLevenshteinDistance (const std::string &stringA, const std::string &stringB, bool caseSensitive=true, int *outLeftRightAddition=nullptr) |
| char32_t | MR::caseFold (char32_t ch) |
| int | MR::calcDamerauLevenshteinDistance (const std::u32string &stringA, const std::u32string &stringB, bool caseSensitive=true, int *outLeftRightAddition=nullptr) |
| std::vector< std::string > | MR::split (const std::string &string, const std::string &delimiter) |
| template<typename F> |
| bool | MR::split (std::string_view str, std::string_view sep, F &&func) |
| std::string | MR::replace (std::string target, std::string_view from, std::string_view to) |
| | Returns target with all from replaced with to, zero or more times.
|
| void | MR::replaceInplace (std::string &target, std::string_view from, std::string_view to) |
| | Replaces from with to in target (in-place), zero or more times.
|
| std::string_view | MR::trim (std::string_view str) |
| | Removes all whitespace character (detected by std::isspace) at the beginning and the end of string view.
|
| std::string_view | MR::trimLeft (std::string_view str) |
| | Removes all whitespace character (detected by std::isspace) at the beginning of string view.
|
| std::string_view | MR::trimRight (std::string_view str) |
| | Removes all whitespace character (detected by std::isspace) at the end of string view.
|
| bool | MR::hasFormatPlaceholders (std::string_view str) |
| | Returns true if str has at least one {...} formatting placeholder.
|