1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

AK: Add StringView::substring_view(size_t) overload.

This commit is contained in:
asynts 2020-09-19 15:19:34 +02:00 committed by Andreas Kling
parent b7bd2ed9d2
commit d831b5738d
2 changed files with 6 additions and 0 deletions

View file

@ -98,6 +98,7 @@ public:
Optional<size_t> find_last_of(const StringView&) const;
StringView substring_view(size_t start, size_t length) const;
StringView substring_view(size_t start) const;
Vector<StringView> split_view(char, bool keep_empty = false) const;
Vector<StringView> split_view(const StringView&, bool keep_empty = false) const;