summaryrefslogtreecommitdiff
path: root/louloulibs/utils/split.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/utils/split.hpp')
-rw-r--r--louloulibs/utils/split.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/louloulibs/utils/split.hpp b/louloulibs/utils/split.hpp
new file mode 100644
index 0000000..3755ef8
--- /dev/null
+++ b/louloulibs/utils/split.hpp
@@ -0,0 +1,12 @@
+#pragma once
+
+
+#include <string>
+#include <vector>
+
+namespace utils
+{
+ std::vector<std::string> split(const std::string &s, const char delim, const bool allow_empty=true);
+}
+
+