summaryrefslogtreecommitdiffstats
path: root/StringTools/exec/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StringTools/exec/main.cpp')
-rw-r--r--StringTools/exec/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/StringTools/exec/main.cpp b/StringTools/exec/main.cpp
new file mode 100644
index 0000000..2be6aa4
--- /dev/null
+++ b/StringTools/exec/main.cpp
@@ -0,0 +1,13 @@
+#include <iostream>
+#include <StringTools/StringTools.h>
+
+int main()
+{
+ std::vector<std::string> foo =
+ StringTools::Split(",,Hello,,lol,,test,,", ",,");
+
+ for (const auto& it : foo)
+ std::cout << "'" << it << "'" << std::endl;
+
+ return 0;
+}