diff options
author | Mattes D <github@xoft.cz> | 2015-03-11 22:43:52 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-03-11 22:43:52 +0100 |
commit | 439eb8d6cb111fdc336c95aec497a8eb9ddf2df1 (patch) | |
tree | a8ceefb71e807fa5b0acba588e07737086ea8d1c /src/StringUtils.h | |
parent | Merge pull request #1804 from mc-server/streamlinetravis (diff) | |
parent | Fixed coding conventions for Pull Request #1807 (diff) | |
download | cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar.gz cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar.bz2 cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar.lz cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar.xz cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.tar.zst cuberite-439eb8d6cb111fdc336c95aec497a8eb9ddf2df1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/StringUtils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h index bc3bb7a2c..785197763 100644 --- a/src/StringUtils.h +++ b/src/StringUtils.h @@ -41,6 +41,11 @@ extern AString & AppendPrintf (AString & a_Dst, const char * format, ...) FORMAT Return the splitted strings as a stringvector. */ extern AStringVector StringSplit(const AString & str, const AString & delim); +/** Split the string at any of the listed delimiters. Keeps quoted content together +Resolves issue #490 +Return the splitted strings as a stringvector. */ +extern AStringVector StringSplitWithQuotes(const AString & str, const AString & delim); + /** 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); |