Table of Contents

Enum CsvFieldTrimming

Namespace
FlameCsv.Reading
Assembly
FlameCsv.Core.dll

Enumeration that determines how leading and trailing spaces is handled when reading CSV fields.

[Flags]
public enum CsvFieldTrimming : byte

Fields

Both = Leading | Trailing

Both leading and trailing ASCII spaces are trimmed from the field, unless wrapped in quotes.

Leading = 1

Leading ASCII spaces are trimmed from the start of the field, unless wrapped in quotes.

None = 0

No trimming is performed. Fields are read as-is, including leading and trailing spaces.

Trailing = 2

Trailing ASCII spaces are trimmed from the end of the field, unless wrapped in quotes.