From def669f31e10c8192a16f6f6ebdf1ccd420b5fe5 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 11 Oct 2014 12:55:57 +0200 Subject: added a string splitting function (strtok-like) --- include/util/StringUtils.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 +#include #include "util/UtilExportable.hpp" UTIL_DLL_VISIBLE bool stringicasecmp( const std::string &s1, const std::string &s2 ); +UTIL_DLL_VISIBLE std::vector split( const std::string &s, const std::string &delimiter, bool keepEmpty = true ); #endif -- cgit v1.2.3-54-g00ecf