The function to read all lines into a matrix of arrays.
//The content of the test.csv file is //"A,B,C,D // 1,2,3,4 // a,b,c,d" var csvReader = new CSVReader("input/test.txt", ",", "\"", "MS932"); var array = csvReader.readAllLines();//The array return value is //["A","B","C","D"], //["1","2","3","4"], //["a","b","c","d"]
Calling | Returning |
---|---|
CSVReader . readAllLines() | Array |