String.slice() and newlines

Slice seems to disregard any <br> and/or newlines.

IE, when I slice() a string from a certain position, and transfer the sliced string to a new dyn. text box, all enters etc get lost; all text appears on one line.

Is there any workaround for this?