mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:07:43 +00:00
AK: Add StringView::contains(StringView)
This commit is contained in:
parent
1ad51325ad
commit
fd64be02e0
2 changed files with 6 additions and 0 deletions
|
@ -83,6 +83,7 @@ public:
|
|||
bool ends_with(char) const;
|
||||
bool matches(const StringView& mask, CaseSensitivity = CaseSensitivity::CaseInsensitive) const;
|
||||
bool contains(char) const;
|
||||
bool contains(const StringView&) const;
|
||||
bool equals_ignoring_case(const StringView& other) const;
|
||||
|
||||
Optional<size_t> find_first_of(char) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue