CsvFileOutputRecordStream.SeparatorChar

Syntax

CsvFileOutputRecordStream.SeparatorChar

Data Type

String

The separator character for the CSV file.

Purpose

Get or set the separator character associated with this CsvFileInputRecordStream . By default, the separator character is a "," (comma).

Remarks

CsvFileOutputRecordStream supports any single character besides '"' (double quote), as well as null (empty string) for the separator. However, CsvFileInputRecordStream does not support carriage return, new line, or null separator characters. While it is possible to write files using these separator characters with CsvFileOutputRecordStream , CsvFileInputRecordStream cannot parse them. Attempting to set SeparatorChar to a string of two or more characters results in a run-time error.

Note Although this interface accepts any Unicode character, TestStand only supports values that map to ANSI multibyte characters from the current code page.
Note The comma is the only separator compliant with RFC 4180, "Common Format and MIME Type for Comma-Separated Values (CSV) Files."