CsvFormat

Description

struct Tinman.Core.Formatting.CsvFormat

Describes the format for comma-separated value files.

See also

CsvReader
CsvWriter

Public / Constructors

Csv​Format


public constructor CsvFormat → (3)

delimiter in : char

Delimiter character between cell values.

quote opt : char = '"'

Character for quoting cell value text.

comment opt : char = '#'

Line prefix character that marks single-line comments.

Creates a new instance of CsvFormat.

Public / Attributes

Comment


public readonly attribute Comment → (char)

Lines starting with this character are ignored.

Default


public static readonly attribute Default → (CsvFormat)

Default CSV format.

Delimiter: comma
Quote: double-quotes
Comment: hash

Delimiter


public readonly attribute Delimiter → (char)

The field delimiter character.

Quote


public readonly attribute Quote → (char)

The quote character.