views:

1649

answers:

2

I am getting the output as 0,1,2,3. I need this to be split into array

+9  A: 
var a:Array = s.split(",")
Vinay Sajip
A: 

In addition to Vinay's answer, here is a link to the documentation:

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/String.html#split()

Richard Szalay