package{
import flash.display.Sprite;
publicclass Main extends Sprite{
public function Main(){
var example:String = "This is a string of words";
var words:Array = example.split(" ");
for ( var i:int = 0; i < words.length; i++ ) {
trace( words[i] );
}
}
}
}