print_csv
Prints a record has a comma separated string of values.
print_csv(input:record, [list_separator=str, null_value=str]) -> string
Description
Theprint_csv
function prints a record's values as a comma separated string.input: record
The record you want to print.
list_separator = str (optional)
The string separating different elements in a list within a single field.
Defaults to";"
.null_value = str (optional)
The string denoting an absent value.
Defaults to""
.Examples
from {x:1, y:true, z: "String"}
output = this.print_csv()
{
x: 1,
y: true,
z: "String",
output: "1,true,String",
}