mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:17:35 +00:00
AK: Add String::starts_with to match String::ends_with
This commit is contained in:
parent
738f9de9a9
commit
419e886497
2 changed files with 12 additions and 0 deletions
|
@ -126,6 +126,7 @@ public:
|
|||
return (*m_impl)[i];
|
||||
}
|
||||
|
||||
bool starts_with(const StringView&) const;
|
||||
bool ends_with(const StringView&) const;
|
||||
|
||||
bool operator==(const String&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue