Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function LISTPREPEND

Inserts an element at the beginning of a list.

Example

listprepend(string list,string value,[string delimiters]):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   An element or a list of elements.  
delimiters string  No , Characters that separate list elements. The default value is comma.