type
returns
Getter
array<string>
Returns an array of the given string's lines. This is a cross-platform solution which supports non-standard line breaks.
"foo".lines == "foo" "Hello World" == ["Hello", "World"] "Hello\r\nWorld" == ["Hello", "World"]
Last updated 5 years ago
Was this helpful?