6.2 mischief/string: Strings
(require mischief/string) | package: mischief-dev |
procedure
(string-lines str) → (listof string?)
str : string?
Splits str into lines.
Example:
> (string-lines "The cat\nin the hat\ncame back.\n") '("The cat" "in the hat" "came back.")