split() method appropriately.
package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var sValue:String = "a b c d e f";
var aValues = sValue.split(" ");
for (var i = 0; i < aValues.length; i++){
trace(aValues[i]);
}
}
}
}
a
b
c
d
e
f