mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
AK: Add StringView::ends_with function
This commit is contained in:
parent
27df4eb43d
commit
24bc674d94
3 changed files with 22 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue