mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +00:00
AK: Give String::index_of() an optional second "start" argument
This commit is contained in:
parent
332f349e07
commit
97cea9e61c
2 changed files with 3 additions and 3 deletions
|
@ -124,7 +124,7 @@ public:
|
|||
bool equals_ignoring_case(const StringView&) const;
|
||||
|
||||
bool contains(const String&) const;
|
||||
Optional<size_t> index_of(const String&) const;
|
||||
Optional<size_t> index_of(const String&, size_t start = 0) const;
|
||||
|
||||
Vector<String> split_limit(char separator, size_t limit, bool keep_empty = false) const;
|
||||
Vector<String> split(char separator, bool keep_empty = false) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue