fputcsv
Format line as CSV and write to file pointer
&reftitle.description;
intfputcsv
resourcehandle
arrayfields
stringdelimiter','
stringenclosure'"'
fputcsv formats a line (passed as a
fields array) as CSV and write it (terminated by a
newline) to the specified file handle.
&reftitle.parameters;
handle
&fs.validfp.all;
fields
An array of values.
delimiter
The optional delimiter parameter sets the field
delimiter (one character only).
enclosure
The optional enclosure parameter sets the field
enclosure (one character only).
&reftitle.returnvalues;
Returns the length of the written string&return.falseforfailure;.
&reftitle.examples;
fputcsv example
]]>
&reftitle.notes;
¬e.line-endings;
&reftitle.seealso;
fgetcsv