klyn.io.csv.CSVReader.CSVReader
constructor

    public CSVReader(
    filename as String,
    delimiter as Char = ',',
    quoteChar as Char = '"',
    escapeChar as Char = Char(0),
    doubleQuote as Boolean = true,
    skipInitialSpace as Boolean = false,
    strict as Boolean = true
    ):

Description

Reads and parses a CSV file.

Parameters

Parameter | Description
--- | ---
`filename` | CSV file path.
`delimiter` | Field delimiter. Default is comma.
`quoteChar` | Quote character. Default is `"`.
`escapeChar` | Optional escape character. `Char(0)` disables escapes.
`doubleQuote` | When true, `""` inside a quoted field means `"`.
`skipInitialSpace` | Skips spaces immediately after delimiters.
`strict` | Raises `CSVException` on malformed quoting.