Hi guys
Let's say you have a text file with data organized like this , with pipes as delimiters :
With Actionscripting, how would you import the text file and build a multidimensional array like this ...
... knowing that the number of rows and columns is not know in advance?
Thanks for the help!
Let's say you have a text file with data organized like this , with pipes as delimiters :
Code:
a|1|2|3
b|4|5|6
c|7|8|9
...
With Actionscripting, how would you import the text file and build a multidimensional array like this ...
Code:
my_array[a] = array(1,2,3);
my_array[b] = array(4,5,6);
my_array[c] = array(7,8,9);
... knowing that the number of rows and columns is not know in advance?
Thanks for the help!