3 Replies Latest reply on Oct 31, 2012 5:24 AM by Ned Murphy

    Repeat a string

    Dorsey2

      Hello,

       

      First, sorry for my english i'm a french flash user.

       

      I hope you could help me with this question, I think is it very simple for some of you, but I don't find the solution.

       

       

      I've a variable like this :

       

       

      var test:string = "1,";

      var nb:Number = 5 ;

       

       

      And I'would like a reslut like :


      1,1,1,1,1,

       

       

      Is it possible ?

       

      Thanks a lot.