Methods

linesΒΆ

lines(s:Str, cb:Fun)

Split s to strings using end-of-line separators and call cb for each one of the lines. TODO: More efficient implementation, which would not have temporary array of all lines.
Source: stdlib.ngs:2471

cb

Function to be called with each line