serializeList serializeList
Converts a given list (any type except listObject) into a string.
Category
List
Function syntax
serializeList(<parameters>)
Parameters
Parameter
Type
Description
listToProcess
listString, listBoolean, listInteger, listDecimal, listDuration, listDateTime, listDateTimeOnly, listDateOnly
List to convert into a string.
separator
string
Separator between each list element in the output string.
addQuotes
boolean
This parameter indicates if each element in the output string should include quotes (true) or not (false).
Signature and returned type
serializeList(<listInteger>,<string>,<boolean>)
serializeList(<listDecimal>,<string>,<boolean>)
serializeList(<listString>,<string>,<boolean>)
serializeList(<listBoolean>,<string>,<boolean>)
serializeList(<listDateTimeOnly>,<string>,<boolean>)
serializeList(<listDateTime>,<string>,<boolean>)
serializeList(<listDateOnly>,<string>,<boolean>)
serializeList(<listDuration>,<string>,<boolean>)
Return a string.
Example
serializeList(["Hello","World"], " ", false)
Returns 鈥淗ello World鈥.
serializeList(["Hello", "World"], ",", true)
Returns 鈥溾淗ello鈥,鈥淲orld鈥濃.
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76