how to club the data split by split function

Posted by udaya on Stack Overflow See other posts from Stack Overflow or by udaya
Published on 2010-04-13T07:40:08Z Indexed on 2010/04/13 7:43 UTC
Read the original article Hit count: 693

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about date