a1cf14ad 4a30 a7d6 5588 3713d8959905 - akesseler/Plexdata.CsvParser GitHub Wiki
Gets or sets the character that separates each CSV column. Default value is a comma.
Namespace: Plexdata.CsvParser.Processors
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea
C#
public char Separator { get; set; }
Type: Char
The Separator character which splits or combines CSV file content.
Exception | Condition |
---|---|
ArgumentException | This exception is thrown if given value is a control character, except the tabulator character. |
The separator character is used to determine the split position in each line of a CSV file. Usually a comma is used for this purpose. But because of missing a clear definition there are many CSV files that uses various different characters. Some of the examples are: semicolon, tabulator, colon and sometimes spaces as well. With this property users can define the character to be used to split the content of any CSV file.
CsvSettings Class
Plexdata.CsvParser.Processors Namespace
Plexdata.CsvParser.Constants.ColumnSeparators