From b355bdeccecf727d30e48634df9b5d424db570bc Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 4 Jun 2012 12:08:20 +0000 Subject: Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon. git-svn-id: http://mc-server.googlecode.com/svn/trunk@549 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/StringUtils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/StringUtils.h') 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); -- cgit v1.2.3