mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +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
|
@ -114,7 +114,7 @@ public:
|
|||
Vector<String> split(char separator) const;
|
||||
String substring(int start, int length) const;
|
||||
|
||||
Vector<StringView> split_view(char separator) const;
|
||||
Vector<StringView> split_view(char separator, bool keep_empty = false) const;
|
||||
StringView substring_view(int start, int length) const;
|
||||
|
||||
bool is_null() const { return !m_impl; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue