HI,
I am reading the text file
1=apple 2=jack 3=lemon 4=banana
var loader:URLLoader = URLLoader(event.target);
var mystring :String = loader.data;
tempArray = mystring.split("\n");
and getting the value like
1=apple
2=jack
3=lemon
4=banana
i need to split the value and push in to array like..removing the "=" and "end space "
"1=apple " split that value in to 1 and apple. "2=jack " split that value in to 2 and jack.
and push in to new array called fruits array using the 1 2 3... as index;
fruits[1]="apple"; fruits[2]="jack";lemon fruits[3]="lemon";
thanks in advance