diff options
Diffstat (limited to 'src/auxiliary/functions.h')
-rw-r--r-- | src/auxiliary/functions.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/auxiliary/functions.h b/src/auxiliary/functions.h index 2202b87..90eb2ed 100644 --- a/src/auxiliary/functions.h +++ b/src/auxiliary/functions.h @@ -42,6 +42,13 @@ void to_lowercase(std::string &text); /// return text, converted to lowercase const std::string lowercase(const std::string &text); + +/// return text, stripped of color codes +const std::string text_strip(const std::string &text); + +/// return text, stripped of color codes and converted to lowercase +const std::string text_strip_lowercase(const std::string &text); + } #endif // __INCLUDED_AUX_FUNCTIONS_H__ |