diff options
author | Linus Groh <mail@linusgroh.de> | 2020-05-11 01:43:33 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-11 10:48:54 +0200 |
commit | d20e26c69029e9ee80362e7eb08d848541ecb02a (patch) | |
tree | 77a31717c86585c13aa33e7e3770360d67703119 /AK/String.h | |
parent | 673527d314a9f58ddb04e2a75bebe3bacd79af0c (diff) | |
download | serenity-d20e26c69029e9ee80362e7eb08d848541ecb02a.zip |
AK: Add String::trim_spaces()
Diffstat (limited to 'AK/String.h')
-rw-r--r-- | AK/String.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/String.h b/AK/String.h index bf5ac828ce..943a65bebd 100644 --- a/AK/String.h +++ b/AK/String.h @@ -114,6 +114,8 @@ public: String to_lowercase() const; String to_uppercase() const; + String trim_spaces() const; + bool equals_ignoring_case(const StringView&) const; bool contains(const String&) const; |