summaryrefslogtreecommitdiff
path: root/convenience/split.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'convenience/split.cpp')
-rw-r--r--convenience/split.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/convenience/split.cpp b/convenience/split.cpp
deleted file mode 100644
index d7628f3..0000000
--- a/convenience/split.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-vector<string> split(string &s, string delim) { //zerlegt s anhand aller Zeichen in delim
- vector<string> result; char *token;
- token = strtok((char*)s.c_str(), (char*)delim.c_str());
- while (token != NULL) {
- result.push_back(string(token));
- token = strtok(NULL, (char*)delim.c_str());
- }
- return result;
-} \ No newline at end of file