aboutsummaryrefslogtreecommitdiff
path: root/include/StringUtils.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-21 03:49:17 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-21 03:49:17 +0200
commit40e0f8f5d8c3e480f01a2d71b6a493247adcb77f (patch)
treeccc3c0a7c82be8f5dbe86dfc712cce3da7e2ad59 /include/StringUtils.hpp
parent5c72463c029804c85479d2c4426397d932c88ee1 (diff)
Initial matrix support
Diffstat (limited to 'include/StringUtils.hpp')
-rw-r--r--include/StringUtils.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp
index b2efb1d..97c73dd 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, 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);
std::string strip(const std::string &str);
bool string_ends_with(const std::string &str, const std::string &ends_with_str);