I was working on a Flash project, and needed a way to quickly strip the carriage returns out of some XML so I could paste it into the JavaScript that I was using to send the data into the SWF (I know there are better ways.. ) and came up with this code...
(((edited to add that this was an ANCIENT post.. and it's much easier to just use something like mystring = string.split("\n").join(""); )))
stripping Carriage Returns in Flash Sunday, February 09, 2003
Have Your Saycomments & trackbacks
The trackback URL for this entry is: http://oddhammer.com/index.php/trackback/9/P3Onnw5k/
-
Commenting is not available in this weblog entry.