Nel

Nel

  • NA
  • 716
  • 1m

Problem with separating the columns in csv file

Sep 11 2014 10:49 AM

Hi,

I have this code for separating the row in coulmns in csv file I want to separate the columns where there is " to " " in " and ":" but I don't know how Cana nybody help me please?

var csvRows = []
                for (var n = 0, l = csvData.length; n < l; ++n) {
                    csvRows.push(csvData[n].join(' to '));   // unquoted CSV row
                 
                }
                csvString = csvRows.join('\n');
               


            }
            exportCSV();

Thanks


Answers (2)