Lucee Function Reference

listappend()

Concatenates a list or element to a list.

Example

listappend(string list,string value,[string delimiters,[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
list string  Yes   a string list  
value string  Yes   a string value  
delimiters string  No , Characters that separate list elements. The default value is comma.
If this string contains more than one character, only the first character is used.  
includeEmptyFields boolean  No true if false it cleans up empty fields.