Sign in Join
FPDoc Onlineexperiment

CsvReadWrite unit

Unit to read and write a CSV file.

The csvreadwrite unit contains a class TCSVParser which allows you to read a CSV file, and TCSVBuilder which allows you to create a CSV file. In both classes, it offers options to handle various kinds of CSV formats. These classes are used in the TCSVDocument class (a class that offers a matrix-like representation of the CVS data) to read and write the CSV file.

Classes and records

TCSVBuilderclassClass to write a CSV file.
TCSVHandlerclassBase class for CSV reading and writing classes.
TCSVParserclassClass to parse a CSV file.

Procedures and functions

ChangeLineEndingsfunctionChange the line endings in a string.

Types

TCSVByteOrderMarkenumerationBOM marker types.
TCSVChartypeBasic character.

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.