ZVON > References > Haskell reference
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Prelude
Function: lines
Type: String -> [String]
Description: creates an array of string from the original one, new line characters serving as separators
Related:

Example 1

Input: lines "aa\nbb\nbb"

Output: ["aa","bb","bb"]