summaryrefslogtreecommitdiffstats
path: root/source/StringUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/StringUtils.h')
-rw-r--r--source/StringUtils.h6
1 files changed, 3 insertions, 3 deletions
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