From b8dda388e0cf300f573d411dc670099e56c2e3c3 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Fri, 18 Aug 2017 11:29:54 +0100 Subject: Represent cItem::m_Lore as an AStringVector (#3882) * Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings --- src/StringUtils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/StringUtils.h') diff --git a/src/StringUtils.h b/src/StringUtils.h index b59dde41a..12227014d 100644 --- a/src/StringUtils.h +++ b/src/StringUtils.h @@ -47,6 +47,9 @@ Resolves issue #490 Return the splitted strings as a stringvector. */ extern AStringVector StringSplitWithQuotes(const AString & str, const AString & delim); +/** Join a list of strings with the given delimiter between entries. */ +AString StringJoin(const AStringVector & a_Strings, const AString & a_Delimiter); + /** Split the string at any of the listed delimiters and trim each value. Returns the splitted strings as a stringvector. */ extern AStringVector StringSplitAndTrim(const AString & str, const AString & delim); -- cgit v1.2.3