Add strings together : String concatenation : String Flash / Flex / ActionScript examples


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

 

Add strings together


 

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

        var example:String = "A.";
        example += " B ";
        example += "C.";
        
        trace(example);


    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» String concatenation