Reputation: 433
Can anyone tell me how to use the split() function in as3 to split Strings with Carriage Returns?
This is usually done with " \n ", but it doesent seem to work in this case, with or without de quotes.
Upvotes: 9
Views: 6863
Reputation: 2902
Try spliting like this
var yourArray:Array = YourString.split(String.fromCharCode(13));
Upvotes: 13