I was trying to split a string on a newline character today and having some issues. The string was a text node loaded from an xml file, and i could see that the line breaks were coming in intact. However when i tried to split the string on the “\n” character, it wouldn’t work. Long story short, internally flash represents a newline character as “\r”, so string.split(“\r”) works fine.