mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
AK: Add StringView::substring_view(size_t) overload.
This commit is contained in:
parent
b7bd2ed9d2
commit
d831b5738d
Notes:
sideshowbarker
2024-07-19 02:17:38 +09:00
Author: https://github.com/asynts
Commit: d831b5738d
Pull-request: https://github.com/SerenityOS/serenity/pull/3536
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