aboutsummaryrefslogtreecommitdiff
path: root/include/StringUtils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/StringUtils.hpp')
-rw-r--r--include/StringUtils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp
index 8a94d2f..cd18366 100644
--- a/include/StringUtils.hpp
+++ b/include/StringUtils.hpp
@@ -7,6 +7,7 @@ namespace QuickMedia {
// Return false to stop iterating
using StringSplitCallback = std::function<bool(const char *str, size_t size)>;
+ void string_split(const std::string &str, const std::string &delimiter, StringSplitCallback callback_func);
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);