Search and replace actionscript

Have you ever had this problem with flash that when you get your XML from another programming language, they have it all mixed up with spaces and hard breaks …

Well, this website just saved me from it ;-)

http://www.tutorio.com/tutorial/actionscript-search-and-replace-in-flash

Just search and replace them to a nice “one-liner” ;)