diff options
Diffstat (limited to 'include/Utils.hpp')
-rw-r--r-- | include/Utils.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Utils.hpp b/include/Utils.hpp index 1415209..3d3c029 100644 --- a/include/Utils.hpp +++ b/include/Utils.hpp @@ -15,6 +15,8 @@ namespace gsr { void string_split_char(std::string_view str, char delimiter, StringSplitCallback callback_func); bool starts_with(std::string_view str, const char *substr); + bool ends_with(std::string_view str, const char *substr); + std::string strip(const std::string &str); std::string get_home_dir(); std::string get_config_dir(); |