summaryrefslogtreecommitdiff
path: root/louloulibs/utils/split.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/utils/split.hpp')
m---------louloulibs0
-rw-r--r--louloulibs/utils/split.hpp12
2 files changed, 12 insertions, 0 deletions
diff --git a/louloulibs b/louloulibs
deleted file mode 160000
-Subproject 0f3c1183e2bf0941ae2bffd3f31577bce4f3001
diff --git a/louloulibs/utils/split.hpp b/louloulibs/utils/split.hpp
new file mode 100644
index 0000000..6b487a9
--- /dev/null
+++ b/louloulibs/utils/split.hpp
@@ -0,0 +1,12 @@
+#ifndef SPLIT_INCLUDED
+# define SPLIT_INCLUDED
+
+#include <string>
+#include <vector>
+
+namespace utils
+{
+ std::vector<std::string> split(const std::string &s, const char delim, const bool allow_empty=true);
+}
+
+#endif // SPLIT_INCLUDED