CsvTrimOptions Enum

Specifies which spaces CsvReader and Utf8CsvReader remove from the values they read.

[Flags]
public enum CsvTrimOptions

Remarks

Only the space character (U+0020) is removed. Tabs and other white spaces are part of the values.

Fields

NameValueDescription
None0The values are returned as they are in the data.
Outer1The spaces before and after a value are removed. A quoted value may be preceded and followed by spaces: "a,b" is the value a,b.
InsideQuotes2The spaces at the start and at the end of the content of a quoted value are removed: " a " is the value a.
All3Combines CsvTrimOptions.Outer and CsvTrimOptions.InsideQuotes.