Hello, how do I remove the "\r\n" newline characters from a
string in AS3 ?
I can do it in Flex using StringUtil trim, but that is not
available in Flash.
To remove all you can use the String's replace() method. To
actually trim (only remove trailing and starting whitespace) you'd
have to look for a RegExp that does exactly that in combination
with the replace() method