Converting Strings to Arrays
package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var keywords:String = "people, new york, friends, picnic";
var tags:Array = keywords.split(",");
trace(tags);
}
}
}
Related examples in the same category