DescriptionAdd split function to LineSplitter class in dart:convert.
The split function returns a lazy iterable of the lines, unlike the convert
function which returns a list.
This makes the function usable on large strings where not all of the lines
are needed.
Closes https://github.com/dart-lang/sdk/issues/23837
R=kevmoo@google.com
Committed: https://github.com/dart-lang/sdk/commit/4ee62465568ecad211b37494b3b9d1fd9661435e
Patch Set 1 #
Total comments: 1
Patch Set 2 : Addto changelog #
Total comments: 2
Messages
Total messages: 9 (2 generated)
|