Lucee object methods reference

Object Method String.listPrepend

Inserts an element at the beginning of a list.
String.listPrepend(string value,[string delimiters]):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
value string  Yes   An element or a list of elements.
delimiters string  No , Characters that separate list elements. The default value is comma.