The bsLinify pipe splits a string into an array of lines on newline boundaries. The optional argument removes empty entries.
bsLinify