I am having this problem that has left me absolutely baffled. I am importing some XML and saving it to a string. This works fine. The problem is, I can’t get rid of any of the line breaks. I’ve done a str.replace() for

 

\r \s, pretty much anything that could be interpreted as a line break, and nothing works. I still get line breaks when I put the text into a textField or Alert it in Flex. Any help would be appreciated.