CsvFile.Quote (gb.util)

Static Function Quote ( Value As String [ , Separator As String, Escape As String ] ) As String

Dal 3.15

Quote a string value for a CSV file.

  • Value if the string value to quote.

  • Separator is the CSV file field separator. By default a comma.

  • Escape is the CSV file escape character. By default a double quote.

"\r" characters are automatically removed when the string value has to be escaped, because it makes Microsoft Excel™ fail.