diff options
Diffstat (limited to 'include/BString.h')
-rw-r--r-- | include/BString.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/BString.h b/include/BString.h index b5a273f..4540e70 100644 --- a/include/BString.h +++ b/include/BString.h @@ -47,6 +47,9 @@ class String : public Base { ssize_t strrchr(char) const; ssize_t strstr(const String &) const; int strchrcnt(char) const; + String ltrim() const; + String rtrim() const; + String trim() const; String & operator=(const String &); String operator+(const String &) const; String & operator+=(const String &); @@ -73,6 +76,4 @@ std::istream & operator>>(std::istream &, String &); String operator+(const char *, const String &); -bool compare(String, String); - #endif |