summaryrefslogtreecommitdiffstats
path: root/include/core/String.hpp
diff options
context:
space:
mode:
authorlupoDharkael <izhe@hotmail.es>2019-05-22 11:06:01 +0200
committerlupoDharkael <izhe@hotmail.es>2019-08-05 00:23:42 +0200
commitb895d3c3264dd52312e65af01e34ed04bbf86222 (patch)
tree986d39e1ff65c0b2b4aa1f43c7675bea96ec9087 /include/core/String.hpp
parentbcc39bbf4bf9922c1a5eaea91885eda05cd1202c (diff)
downloadredot-cpp-b895d3c3264dd52312e65af01e34ed04bbf86222.tar.gz
Add missing class methods
Diffstat (limited to 'include/core/String.hpp')
-rw-r--r--include/core/String.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/core/String.hpp b/include/core/String.hpp
index ff5d723..d448567 100644
--- a/include/core/String.hpp
+++ b/include/core/String.hpp
@@ -132,6 +132,11 @@ public:
signed char casecmp_to(String p_str) const;
signed char nocasecmp_to(String p_str) const;
signed char naturalnocasecmp_to(String p_str) const;
+ String dedent() const;
+ PoolStringArray rsplit(const String &divisor, const bool allow_empty = true, const int maxsplit = 0) const;
+ String rstrip(const String &chars) const;
+ String trim_prefix(const String &prefix) const;
+ String trim_suffix(const String &suffix) const;
};
String operator+(const char *a, const String &b);