Skip to content

lines

In std/string.

fn lines(self) : List<String>

The lines of self, without their line breaks; a final line break opens no empty line: string.lines("a\nb\n") is ["a", "b"].