2 Replies Latest reply on Apr 22, 2014 12:18 PM by MatLac

    Looping through letters instead of numbers

    MatLac Level 1

      I need to create an array of strings containing everything from A100 to X999.  I tried looping through letters but I don't think it can be done

       

      var arrayAct = new Array();

        for (i = "A"; i <= "X"; i++){

         for (i2 = 100; i2 <= 999; i2++){

          arrayAct.push(String(i+i2));

         }

        }