Is there a way to split a bitstring loaded from a file on newlines? I have something like this:
A line of text
Additional line of text
And another line
And I want an array like this:
["A line of text",
"Additional line of text",
"And another line"]
Is there a function to split the text on newlines to produce something like this array?
Thanks in advance.