Yes, that would be nice, but it's AS2.  Hopefully AS3 soon!  Thanks!

- MM



Are you using AS3? That would be much easier:

var input:String = "Dog,cat,squirrel, bird - horse:worm";
var re:RegExp = /\s*[,-:\r\t]\s*/gm;
var result:Array = input.split(re);


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to