Methods

linesΒΆ

lines(s:Str)

Split s to strings using end-of-line separators. UNIX and Windows line endings supported (Windows - not tested yet). Warning: Max OS <= 9 line separation of CR (\r) is not supported
Source: stdlib.ngs:2461

Example

"xx\nyy".lines()  # %[xx yy]