diff --git a/AK/StringBuilder.h b/AK/StringBuilder.h index b5f9a887f78..9c4694bfdfc 100644 --- a/AK/StringBuilder.h +++ b/AK/StringBuilder.h @@ -27,6 +27,9 @@ public: StringView string_view() const; void clear(); + int length() const { return m_length; } + void trim(int count) { m_length -= count; } + private: void will_append(int);