StringView: Add starts_with method

This commit is contained in:
MinusGix 2019-09-12 06:13:07 -05:00 committed by Andreas Kling
commit 05f641a5a9
Notes: sideshowbarker 2024-07-19 12:08:40 +09:00
2 changed files with 15 additions and 0 deletions

View file

@ -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;