Hi my data is dat1; the split statement is
var splitstr = dat1.split("-");
I have splited the data from this format
2010 -02-02 to Element 0 = 2010
Element 1 = 05
Element 2 = 22
this format..Using split function,
i want to arrange that like 2010,02,02 how can i do that