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). Defaults as a comma: ,. enclosure The optional enclosure parameter sets the field enclosure (one character only) and defaults to a double quotation mark: ". &reftitle.returnvalues; Returns the length of the written string, or &false; on failure. &reftitle.examples; <function>fputcsv</function> example ]]> &reftitle.notes; ¬e.line-endings; &reftitle.seealso; fgetcsv