Edit

CSV (values, ...)

Result Type: text

Definition: Concatenates the values separated by commas, with any textual value containing commas, quotes, newlines or tabs quoted. Embedded quotes within a field are doubled.

Examples:  CSV("one", 2, "thirty four")

returns “one,2,thirty four".

CSV(1997,Ford,E350,"Super, \"luxurious\" truck")

returns “1997,Ford,E350,"Super, ""luxurious"" truck"".