You need to more specific about how the text is and what is your intended result.

If your texthas CR and LF in it, then simply read it line by line and display those lines as they are in your text object.

Can you provide an example of what the data looks like and the expected result (as an example too)?
_________________________
♪♫♪♫
99 frigging bugs in my code
99 frigging bugs
Take one down
Code around
127 frigging bugs in my code
♪♫♪♫