From 127d168def2a8f74399784d05fa7f13773939665 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Sat, 21 Sep 2019 00:43:37 +0300 Subject: AK: Add a keep_empty argument to String[View]::substring{_view} --- AK/String.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AK/String.h') diff --git a/AK/String.h b/AK/String.h index 2b299841b9..0838d9b40e 100755 --- a/AK/String.h +++ b/AK/String.h @@ -114,7 +114,7 @@ public: Vector split(char separator) const; String substring(int start, int length) const; - Vector split_view(char separator) const; + Vector split_view(char separator, bool keep_empty = false) const; StringView substring_view(int start, int length) const; bool is_null() const { return !m_impl; } -- cgit v1.2.3