Use plus operator when defining the string variable : String concatenation : String Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » String » String concatenation »

 

Use plus operator when defining the string variable


 


package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

        var example:String = "A. "
            "B"
            " C.";
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» String concatenation