summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-31 17:14:23 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-31 18:38:18 (GMT)
commitb3e6f21953d5d4b55ab9ffde78e1a1ff2a59dad1 (patch)
tree5abcfac22759c56c53a4de9bdf6f7247bb079b07 /Swiften/Base/String.h
parentaa60aa80d2d170a536c246ef6c221f92de7dd8ed (diff)
downloadswift-contrib-b3e6f21953d5d4b55ab9ffde78e1a1ff2a59dad1.zip
swift-contrib-b3e6f21953d5d4b55ab9ffde78e1a1ff2a59dad1.tar.bz2
Add String::split().
Diffstat (limited to 'Swiften/Base/String.h')
-rw-r--r--Swiften/Base/String.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Base/String.h b/Swiften/Base/String.h
index 247a8a3..336a663 100644
--- a/Swiften/Base/String.h
+++ b/Swiften/Base/String.h
@@ -37,6 +37,8 @@ namespace Swift {
*/
std::pair<String,String> getSplittedAtFirst(char c) const;
+ std::vector<String> split(char c) const;
+
size_t getLength() const;
String getLowerCase() const;