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:
parent
b7bd2ed9d2
commit
d831b5738d
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue