I tested it before I posted it. The split works with just \r and the point is that he was having an issue with \r not resolving in his textfield as a newline so replacing it with a \r might not fix it but newline might.
-Steven > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Derek Vadneau > Sent: Monday, May 15, 2006 11:52 AM > To: flashcoders@chattyfig.figleaf.com > Subject: Re: [Flashcoders] \r > > That should be: > x = str.split("\\r").join("\r"); > > > Derek Vadneau > > ----- Original Message ----- > From: "Steven Sacks" <[EMAIL PROTECTED]> > To: "'Flashcoders mailing list'" <flashcoders@chattyfig.figleaf.com> > Sent: Monday, May 15, 2006 2:38 PM > Subject: RE: [Flashcoders] \r > > > x = str.split("\r").join(newline); > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com