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