From ff403fdbf0b4c372057fc8369797ddf652cfd727 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 14 Mar 2013 09:52:57 +0000 Subject: Added water and lava springs. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1269 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/StringUtils.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/StringUtils.h') diff --git a/source/StringUtils.h b/source/StringUtils.h index f8a7d7106..06bf77035 100644 --- a/source/StringUtils.h +++ b/source/StringUtils.h @@ -36,6 +36,9 @@ extern AString & AppendPrintf (AString & str, const char * format, ...); /// Split the string at 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 +extern AStringVector StringSplitAndTrim(const AString & str, const AString & delim); + /// Trime whitespace at both ends of the string extern AString TrimString(const AString & str); @@ -63,9 +66,6 @@ extern AString & UTF8ToRawBEUTF16(const char * a_UTF8, size_t a_UTF8Length, AStr /// Creates a nicely formatted HEX dump of the given memory block. Max a_BytesPerLine is 120 extern AString & CreateHexDump(AString & a_Out, const void * a_Data, int a_Size, int a_BytesPerLine); -/// Removes whitespace at the beginning and left of the string -extern AString Trim(const AString & a_Text); - // If you have any other string helper functions, declare them here -- cgit v1.2.3