|
template<invocable_r< char, char > OnUpper = char_to_char> |
std::string & | sequoia::camel_to_words (std::string &text, std::string_view separator=" ", OnUpper onUpper=OnUpper{}) |
|
template<invocable_r< char, char > OnUpper = char_to_char> |
std::string | sequoia::camel_to_words (std::string_view text, std::string_view separator=" ", OnUpper onUpper=OnUpper{}) |
|
std::string & | sequoia::to_camel_case (std::string &text, std::string_view separator) |
|
std::string | sequoia::to_camel_case (std::string_view text, std::string_view separator) |
|
std::string & | sequoia::to_snake_case (std::string &text) |
|
std::string | sequoia::to_snake_case (std::string_view text) |
|
std::string & | sequoia::capitalize (std::string &text) |
|
std::string | sequoia::capitalize (std::string_view text) |
|
std::string & | sequoia::uncapitalize (std::string &text) |
|
std::string | sequoia::uncapitalize (std::string_view text) |
|
std::string & | sequoia::replace (std::string &text, std::string_view from, std::string_view to) |
|
std::string | sequoia::replace (std::string_view text, std::string_view from, std::string_view to) |
|
std::string & | sequoia::replace_all (std::string &text, std::string_view from, std::string_view to) |
|
std::string | sequoia::replace_all (std::string_view text, std::string_view from, std::string_view to) |
|
std::string & | sequoia::replace_all_recursive (std::string &text, std::string_view from, std::string_view to) |
|
std::string | sequoia::replace_all_recursive (std::string_view text, std::string_view from, std::string_view to) |
|
template<class... Replacement>
requires (std::is_same_v<Replacement, replacement> && ...) |
std::string & | sequoia::replace_all (std::string &text, const Replacement &... rs) |
|
template<class... Replacement>
requires (std::is_same_v<Replacement, replacement> && ...) |
std::string | sequoia::replace_all (std::string_view text, const Replacement &... rs) |
|
std::string & | sequoia::replace_all (std::string &text, std::string_view anyOfLeft, std::string_view from, std::string_view anyOfRight, std::string_view to) |
|
std::string | sequoia::replace_all (std::string_view text, std::string_view anyOfLeft, std::string_view from, std::string_view anyOfRight, std::string_view to) |
|
template<invocable_r< bool, char > LeftPred, invocable_r< bool, char > RightPred> |
std::string & | sequoia::replace_all (std::string &text, LeftPred lPred, std::string_view from, RightPred rPred, std::string_view to) |
|
template<invocable_r< bool, char > LeftPred, invocable_r< bool, char > RightPred> |
std::string | sequoia::replace_all (std::string_view text, LeftPred lPred, std::string_view from, RightPred rPred, std::string_view to) |
|
A collection of functions for making substitutions within text.