mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:17:35 +00:00
AK: Add StringView::contains(char)
This commit is contained in:
parent
1f6578ee0a
commit
b77ceecb02
2 changed files with 11 additions and 1 deletions
|
@ -73,6 +73,7 @@ public:
|
|||
bool starts_with(char) const;
|
||||
bool ends_with(char) const;
|
||||
bool matches(const StringView& mask, CaseSensitivity = CaseSensitivity::CaseInsensitive) const;
|
||||
bool contains(char) 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