var dat = "145.00,115.00,140.00,0.00,0.00,0.00,0.00,0.00,0.00 ,0.00 "; var obj = { }; obj.data = dat.split(","); alert(obj.data[1]);