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

Latest commit

 

History

History
31 lines (25 loc) · 754 Bytes

CSVWriter.writeLine.md

File metadata and controls

31 lines (25 loc) · 754 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.