PDA

View Full Version : String.slice() and newlines



Lews
October 3rd, 2003, 08:58 AM
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?

lostinbeta
October 3rd, 2003, 12:04 PM
I don't think I experience this difficulty, can you give example code that you are using and experiencing this error?

Lews
October 4th, 2003, 07:11 AM
Argh! I suck :(

MY textbox was set to Single Line...could have sworn I set it to MultiLine :(

lostinbeta
October 5th, 2003, 07:54 PM
Ohhh, ok then, glad to hear your copy of Flash isn't messed up.

Lews
October 6th, 2003, 03:41 AM
Yeah, me too ;)