diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-28 05:37:15 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-28 05:37:42 +0200 |
commit | 1b7abc7e819d055b3d0ea5be8967a1e381bb5d60 (patch) | |
tree | 503e6f67d933119df4512ef7186ed380b393f868 /include | |
parent | f045e579e1faa186ca0ebf6e6d1e562fbcd75727 (diff) |
Add youtube subscriptions, etc
Diffstat (limited to 'include')
-rw-r--r-- | include/StringUtils.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp index e97a423..6df16db 100644 --- a/include/StringUtils.hpp +++ b/include/StringUtils.hpp @@ -9,6 +9,8 @@ namespace QuickMedia { void string_split(const std::string &str, char delimiter, StringSplitCallback callback_func); // Returns the number of replaced substrings + size_t string_replace_all(std::string &str, char old_char, char new_char); + // Returns the number of replaced substrings size_t string_replace_all(std::string &str, char old_char, const std::string &new_str); // Returns the number of replaced substrings size_t string_replace_all(std::string &str, const std::string &old_str, const std::string &new_str); |