Concatenate string by adding integers with string : String concatenation : String Flash / Flex / ActionScript examples


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

 

Concatenate string by adding integers with string


 


package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var first:int 24;
        var second:int 42;
        
        var result:String = "" + first + second;

        trace(result);
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo String
» String concatenation