mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:57:35 +00:00
AK: Add FlyString::equals_ignoring_case(StringView)
And share the code with String by moving the logic to StringUtils. :^)
This commit is contained in:
parent
0efa47b7ef
commit
26bc3d4ea0
6 changed files with 31 additions and 16 deletions
|
@ -41,6 +41,7 @@ namespace StringUtils {
|
|||
bool matches(const StringView& str, const StringView& mask, CaseSensitivity = CaseSensitivity::CaseInsensitive);
|
||||
int convert_to_int(const StringView&, bool& ok);
|
||||
unsigned convert_to_uint(const StringView&, bool& ok);
|
||||
bool equals_ignoring_case(const StringView&, const StringView&);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue