Splitting a string with delimiters, i.e. commas, into an array was easy.
I had an XML-file with multiple possible values for one start value. These would be used to populate a drop down:
<startValue>1</startValue> <endValue>1,2,3,4,5</endValue>
Alas, I needed to split the endValue property into an array:
var tmp:String = xmlList.endValue.text(); var array:Array = tmp.split(","); trace(array);