Here's one way:

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

It sounds to me like he's trying to take a database and turn it into something that can be loaded directly by Flash, maybe for a distributed standalone app (CD, web download, etc). Depending on the size of the data, it probably would be a good idea to do this before hand, to the file itself, rather than making Flash parse it out every time the end user opens the app.

ryanm
_______________________________________________
[email protected]
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