1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:27:35 +00:00

AK: Add case insensitive version of starts_with

This commit is contained in:
Luke 2020-07-18 17:59:38 +01:00 committed by Andreas Kling
parent ccc929dcf9
commit a5ecb9bd6b
11 changed files with 53 additions and 20 deletions

View file

@ -44,6 +44,7 @@ Optional<unsigned> convert_to_uint(const StringView&);
Optional<unsigned> convert_to_uint_from_hex(const StringView&);
bool equals_ignoring_case(const StringView&, const StringView&);
bool ends_with(const StringView& a, const StringView& b, CaseSensitivity);
bool starts_with(const StringView&, const StringView&, CaseSensitivity);
}
}