diff options
Diffstat (limited to 'source/StringUtils.h')
-rw-r--r-- | source/StringUtils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/StringUtils.h b/source/StringUtils.h index 262c01e49..be0b02445 100644 --- a/source/StringUtils.h +++ b/source/StringUtils.h @@ -33,6 +33,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);
+/// Trime whitespace at both ends of the string
+extern AString TrimString(const AString & str);
+
/// In-place string conversion to uppercase; returns the same string
extern AString & StrToUpper(AString & s);
|