Here's one way:

myString.split("\r").join("");
myString.split("\n").join("");

And if you use my XString class (search the archives):

myString.squeeze(" "); might do the trick, too.


_______________________________________________
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

Reply via email to