I have a question
var period:String = 'June-2009 (CANCEL)';
I want to split into two strings
string1 should be 'June'
and string2 should be '2009'
var Pair:Array = period.split("-");
var string1 = period; -- //should be June
var string2 = period;-- //should be 2009
any idea how i can do that?