mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
AK: Add StringView::ends_with function
This commit is contained in:
committed by
Andreas Kling
parent
27df4eb43d
commit
24bc674d94
@@ -42,6 +42,7 @@ public:
|
||||
unsigned hash() const;
|
||||
|
||||
bool starts_with(const StringView&) const;
|
||||
bool ends_with(const StringView&) const;
|
||||
|
||||
StringView substring_view(size_t start, size_t length) const;
|
||||
Vector<StringView> split_view(char, bool keep_empty = false) const;
|
||||
|
||||
Reference in New Issue
Block a user