Lucee object methods reference

Object Method String.listQualify

Inserts a string at the beginning and end of list elements.
String.listQualify(string qualifier,[string delimiters,[string elements,[boolean includeEmptyFields]]]):string

Category

list,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
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