summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-11 12:55:57 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-11 12:55:57 +0200
commitdef669f31e10c8192a16f6f6ebdf1ccd420b5fe5 (patch)
treed7506dc67235bd8245aad670f64d017b761aa05c /include
parentc5351f58bcf494a56ecfd17fe5e68eb3b17dac7d (diff)
downloadcrawler-def669f31e10c8192a16f6f6ebdf1ccd420b5fe5.tar.gz
crawler-def669f31e10c8192a16f6f6ebdf1ccd420b5fe5.tar.bz2
added a string splitting function (strtok-like)
Diffstat (limited to 'include')
-rw-r--r--include/util/StringUtils.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/util/StringUtils.hpp b/include/util/StringUtils.hpp
index d0c832e..af8e82f 100644
--- a/include/util/StringUtils.hpp
+++ b/include/util/StringUtils.hpp
@@ -2,9 +2,11 @@
#define __UTIL_STRING_UTILS_H
#include <string>
+#include <vector>
#include "util/UtilExportable.hpp"
UTIL_DLL_VISIBLE bool stringicasecmp( const std::string &s1, const std::string &s2 );
+UTIL_DLL_VISIBLE std::vector<std::string> split( const std::string &s, const std::string &delimiter, bool keepEmpty = true );
#endif