Newline character, \n, which is the equivalent of pressing the Enter key. : String : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » 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);
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo String
» String