Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 749 Bytes

CSVWriter.writeLine.md

File metadata and controls

32 lines (25 loc) · 749 Bytes

CSVWriter.writeLine

The function to write an array into the file.

Sample

//The content of the test.csv file is 
//"1234567890,0987654321"
var ary = new Array(2);
ary[0] = "887766,554433";
ary[1] = "1111,2222";
var csvWriter = new CSVWriter("output/test.txt", ",", "\"", "MS932");
csvWriter.writeLine(ary);	

//The content becomes of the test.csv file is 
//"1234567890,0987654321
// 887766,554433
// 1111,2222"

API

CallingReturning
CSVWriter . writeLine(ary)void
ParametersTypeDescription
aryArrayThe arrays that is expected to be write.