Lucee Function Reference
listqualifiedtoarray()
Copies the elements of a list to an array.
Example
listqualifiedtoarray(string list,[string delimiter,[string qualifier,[boolean qualifierRequired,[boolean includeEmptyFields]]]]):array
Category
list,string,array
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Default Value | Description |
---|---|---|---|---|
list | string | Yes | a string list | |
delimiter | string | No | , | a single character that separate list elements. |
qualifier | string | No | " | a single character before and after the list elements. |
qualifierRequired | boolean | No | false | if set to true, all values need to have qualifier (quotes) around them. |
includeEmptyFields | boolean | No | false | if set to true, empty values are included as well |