diff options
author | Dmitry Koteroff <vortex@verona.im> | 2017-12-15 22:23:58 +0300 |
---|---|---|
committer | Dmitry Koteroff <vortex@verona.im> | 2017-12-15 22:23:58 +0300 |
commit | 6fe415ca7f439d56321d327dfdd18105a09a70d1 (patch) | |
tree | 73c92b2a464cc8b8cc03f3749fa27fd3deeca6bd /core/ustring.h | |
parent | 7767d89c4501041229d723d5445aa103ffe71937 (diff) | |
download | redot-engine-6fe415ca7f439d56321d327dfdd18105a09a70d1.tar.gz |
Added rsplit() for String class
Docs updated
Diffstat (limited to 'core/ustring.h')
-rw-r--r-- | core/ustring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ustring.h b/core/ustring.h index 6541642bd1..c0cf5042e0 100644 --- a/core/ustring.h +++ b/core/ustring.h @@ -163,6 +163,7 @@ public: String get_slicec(CharType p_splitter, int p_slice) const; Vector<String> split(const String &p_splitter, bool p_allow_empty = true, int p_maxsplit = 0) const; + Vector<String> rsplit(const String &p_splitter, bool p_allow_empty = true, int p_maxsplit = 0) const; Vector<String> split_spaces() const; Vector<float> split_floats(const String &p_splitter, bool p_allow_empty = true) const; Vector<float> split_floats_mk(const Vector<String> &p_splitters, bool p_allow_empty = true) const; |