public class Main extends Sprite{ public function Main(){
var reCase:RegExp = new RegExp("(\w)+", "g"); var sVal = new String("abc def ghi"); var aMatches:Array = sVal.match(reCase); trace(aMatches.toString());
} } }
Related Scripts with Example Source Code in same category :