Lucee Function Reference
Function LISTQUALIFY
Inserts a string at the beginning and end of list elements.
Example
listqualify(string list,string qualifier,[string delimiters,[string elements,[boolean includeEmptyFields]]]):string
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 | |
qualifier | string | Yes | string to insert before and after the list elements specified in the elements parameter. | |
delimiters | string | No | , | Characters that separate list elements. The default value is comma. |
elements | string | No | all |
which type of element are qualified - all (default): all elements - char: elements that are composed of alphabetic characters |
includeEmptyFields | boolean | No | if set to true, empty values are included as well |