Adding quotes to a String in a DataTable

datatable

#1

I am trying to add quotes to the start and end of each String in a column of a DataTable (necessary format for exporting to a csv). When adding a DataRow, adding the array {x, " + y + “, z} results in adding {x, y, z}. I have tried using the escape sequence, adding the array {x, “”” + y + “”", z} results in adding {x, “”“y”"", z} - printing all three quotes. When using the Write Message function the escape sequence works fine, but when adding it to a DataTable it writes triples - not sure what the problem is.


#2

Hi,
Just double the number of quotes
eg “x” will be ““x””


#3

It should be “x” will be " ‘x’ "