mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
AK: Add a keep_empty argument to String[View]::substring{_view}
This commit is contained in:
parent
07ca753124
commit
127d168def
4 changed files with 10 additions and 10 deletions
|
@ -44,7 +44,7 @@ public:
|
|||
bool starts_with(const StringView&) const;
|
||||
|
||||
StringView substring_view(int start, int length) const;
|
||||
Vector<StringView> split_view(char) const;
|
||||
Vector<StringView> split_view(char, bool keep_empty = false) const;
|
||||
|
||||
// FIXME: These should be shared between String and StringView somehow!
|
||||
unsigned to_uint(bool& ok) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue