mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +00:00
StringView: Add starts_with method
This commit is contained in:
parent
6d7c928359
commit
05f641a5a9
2 changed files with 15 additions and 0 deletions
|
@ -41,6 +41,8 @@ public:
|
|||
|
||||
unsigned hash() const;
|
||||
|
||||
bool starts_with(const StringView&) const;
|
||||
|
||||
StringView substring_view(int start, int length) const;
|
||||
Vector<StringView> split_view(char) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue