read-csv

API Reference

read-csv

A library for reading CSV data from streams.

READ-CSV

A simple CSV file reader.
  • Function READ-CSV (stream &optional (sep #\,) (eof-error-p t) eof-value)
    Read a single line of CSV data from stream. Return the parsed CSV data and a boolean that is true when you've just read the last record in the stream. eof-error-p controls how this function behaves if the first character read is end-of-file. If true, an error is thrown, if false, the eof-value is returned.
  • Function PARSE-CSV (stream &optional (sep #\,))
    Read CSV data from a stream until end-of-file is encountered.