1 Reply Latest reply on Apr 29, 2010 11:44 PM by xbytor2

    Reading a text file that has delimiters into an array

    flex_n00b Level 1

      Hi,

       

      I have to parse a text file which contains fields seperated using a delimiter and fill an array with that (in Javascript).

       

      Right now, I am reading line by line and making a big string with the file contents and using the split() function.

       

      Is there a better way to do this?