Passing arrays from text file

Hi all,

Can someone give me an idea on how to do the above? I am able to trace the values but it appears that it is parsed as a big chunk of string like

“apple”,“orange”,“pear”

etc

so when I tried to assign the value to an array with:

myArray = [fruits]

instead of becoming:

myArray = [“apple”,“orange”,“pear”]

instead of being able to trace(myArray[1]) to yield “orange”, I get undefined

really at my wits end so can someone help me?
tks!:trout: