Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Latest commit

 

History

History
36 lines (30 loc) · 757 Bytes

CSVWriter.writeAllLines.md

File metadata and controls

36 lines (30 loc) · 757 Bytes

CSVWriter.writeAllLines

The function to write all lines into the file.

Sample

	//The content of the test.csv file is 
	//"A,B,C,D
	// 1,2,3,4
	// a,b,c,d"
	var csvWriter = new CSVWriter("output/test.txt", ",", "\"", "MS932");
	var ary = [
		["Z,X,C,V"],
		["Q,W,E,R"]
	];
	csvWriter.writeAllLines(ary);
//The content becomes of the test.csv file is 
//"A,B,C,D
// 1,2,3,4
// a,b,c,d
// Z,X,C,V
// Q,W,E,R"

API

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