From d55416a649346e1d1d40c03284d5bd6f6c0a6384 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 1 May 2013 17:02:09 +0000 Subject: StringUtils: Fixed StringSplit to work with multiple delimiters git-svn-id: http://mc-server.googlecode.com/svn/trunk@1438 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/StringUtils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/StringUtils.h') diff --git a/source/StringUtils.h b/source/StringUtils.h index 06bf77035..995ecab1f 100644 --- a/source/StringUtils.h +++ b/source/StringUtils.h @@ -33,10 +33,10 @@ extern AString Printf(const char * format, ...); /// Add the formatted string to the existing data in the string extern AString & AppendPrintf (AString & str, const char * format, ...); -/// Split the string at delimiters, return as a stringvector +/// Split the string at any of the listed delimiters, return as a stringvector extern AStringVector StringSplit(const AString & str, const AString & delim); -/// Split the string at delimiters and trim each value, return as a stringvector +/// Split the string at any of the listed delimiters and trim each value, return as a stringvector extern AStringVector StringSplitAndTrim(const AString & str, const AString & delim); /// Trime whitespace at both ends of the string -- cgit v1.2.3