Skip to main content Link Search Menu Expand Document (external link) Copy Copied

EscapeStyle Enum

Provides a list of constants to configure the escape mechanism used when parsing/writing a CSV file.


Parts

Constant Member name
0 rfc4180
1 unix

Syntax

variable = EscapeStyle.MemberName

📝Note

The EscapeStyle enumeration is used in the parseConfig.dialect.escapeMode property to “escape” some CSV/TSV fields with embedded special characters. The unix constant will tell the parser to escape in the unix style, preceding the backslash (\), in contrast, rfc4180 will escape fields as specified in RFC-4180, preceding another escape character. Be aware that if a field is escaped using RFC-4180, the embedded “" characters will be part of the output and that the entire field will be surrounded by quotation marks (', " or ~).

See also
ParseConfig Property.

Back to Enumerations overview