mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
AK: Add case insensitive version of starts_with
This commit is contained in:
parent
ccc929dcf9
commit
a5ecb9bd6b
11 changed files with 53 additions and 20 deletions
|
@ -145,7 +145,7 @@ public:
|
|||
ConstIterator begin() const { return characters(); }
|
||||
ConstIterator end() const { return begin() + length(); }
|
||||
|
||||
bool starts_with(const StringView&) const;
|
||||
bool starts_with(const StringView&, CaseSensitivity = CaseSensitivity::CaseSensitive) const;
|
||||
bool ends_with(const StringView&, CaseSensitivity = CaseSensitivity::CaseSensitive) const;
|
||||
bool starts_with(char) const;
|
||||
bool ends_with(char) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue