diff options
author | peterbell10 <peterbell10@live.co.uk> | 2017-08-18 12:29:54 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2017-08-18 12:29:54 +0200 |
commit | b8dda388e0cf300f573d411dc670099e56c2e3c3 (patch) | |
tree | 6c3f40beb7a652f9c5afa560954e68a53db54401 /src/StringUtils.h | |
parent | Changed type of FastRandom in monster drop calculation. (#3920) (diff) | |
download | cuberite-b8dda388e0cf300f573d411dc670099e56c2e3c3.tar cuberite-b8dda388e0cf300f573d411dc670099e56c2e3c3.tar.gz cuberite-b8dda388e0cf300f573d411dc670099e56c2e3c3.tar.bz2 cuberite-b8dda388e0cf300f573d411dc670099e56c2e3c3.tar.lz cuberite-b8dda388e0cf300f573d411dc670099e56c2e3c3.tar.xz cuberite-b8dda388e0cf300f573d411dc670099e56c2e3c3.tar.zst cuberite-b8dda388e0cf300f573d411dc670099e56c2e3c3.zip |
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r-- | src/StringUtils.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |