mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:17:46 +00:00
AK: Move String::ends_with implementation to StringUtils
Centralizing so it can be used by other string implementations
This commit is contained in:
parent
d98e743568
commit
8e4b858b3f
3 changed files with 15 additions and 7 deletions
|
@ -43,6 +43,8 @@ int convert_to_int(const StringView&, bool& ok);
|
|||
unsigned convert_to_uint(const StringView&, bool& ok);
|
||||
unsigned convert_to_uint_from_hex(const StringView&, bool& ok);
|
||||
bool equals_ignoring_case(const StringView&, const StringView&);
|
||||
bool ends_with(const StringView& str, const StringView& end);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue