diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-03 12:59:05 +0300 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 17:02:08 +0200 |
commit | 0d4dcf380033902fe4eb70425138e419fb711271 (patch) | |
tree | d1c7ddc3d62d7bc787e8b84d942ca5e0b333de39 /include | |
parent | fbd80e546c51875ff310462312090abb84076b35 (diff) |
add comphelper::string::split
Change-Id: Iccc989a786e8e7b8dca1996b635248d7bf7fc5d8
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/string.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/comphelper/string.hxx b/include/comphelper/string.hxx index c0fee8fb558c..f1d253f30401 100644 --- a/include/comphelper/string.hxx +++ b/include/comphelper/string.hxx @@ -319,6 +319,9 @@ COMPHELPER_DLLPUBLIC OString join(const OString& rSeparator, const std::vector<O COMPHELPER_DLLPUBLIC sal_uInt32 decimalStringToNumber( OUString const & str ); +COMPHELPER_DLLPUBLIC std::vector<OUString> + split(const OUString& rString, const sal_Unicode cSeparator); + /** Convert a single comma separated string to a sequence of strings. Note that no escaping of commas or anything fancy is done. |