Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: string FormatCsvRow(params object[])

  • Declared in: RT.Util.Ut

Declaration

public static string FormatCsvRow(
    params object[] cells
)

Summary

Formats an entire CSV row, escaping cell values where required. See Remarks.

Remarks

The value returned may contain newlines inside cell values. It does not contain the terminating newline that separates CSV rows from each other. Zero cells are formatted to a blank line, which gets skipped entirely by Ut.ParseCsv(string, int). All other inputs round-trip exactly.