Mega Code Archive

 
Categories / Flash ActionScript / String
 

Newline character, n, which is the equivalent of pressing the Enter key

package{   import flash.display.Sprite;      public class Main extends Sprite{     public function Main(){         var s: String = "Dear Mom, \nThings are swell. I miss you.\nLove, \nMims";         trace(s);     }   } }