ListRest()

Gets a list, without its first element.

ListRest( list=string, delimiters=string, includeEmptyFields=boolean, offset=number );

Returns: String

Argument Description Default
list
string, required

a string list

delimiters
string, optional

Characters that separate list elements. The default value is comma.

Alias: delimiter

,

includeEmptyFields
boolean, optional

if set to true, empty values are included as well

offset
number, optional

specifies how many items to skip from the beginning of the list. default is 1.

Examples

writeOutput(listRest("string,Lucee,susi,LAS")&"<br><br>");

//Member function strList="0,1,2,3,4"; writeDump(strlist.listRest());

See also