mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 13:18:19 +00:00
AK: Add StringView::count(char)
This commit is contained in:
parent
b40ab55830
commit
3556c27d2d
Notes:
sideshowbarker
2024-07-17 05:06:13 +09:00
Author: https://github.com/DanShaders
Commit: 3556c27d2d
Pull-request: https://github.com/SerenityOS/serenity/pull/20629
3 changed files with 16 additions and 0 deletions
|
@ -107,6 +107,7 @@ DeprecatedString replace(StringView, StringView needle, StringView replacement,
|
|||
ErrorOr<String> replace(String const&, StringView needle, StringView replacement, ReplaceMode);
|
||||
|
||||
size_t count(StringView, StringView needle);
|
||||
size_t count(StringView, char needle);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue