Gets a list, without its first element.
listRest(list [, delimiters])
→ returns string
,
A very basic listRest example
listRest("one,two,three,four");
Expected Result: two,three,four
Nesting listRest shortens the list by one each time with the first element removed.
listRest(listRest("one,two,three,four"));
Expected Result: three,four
Nesting list functions lets you move through the list in pieces.
listFirst(listRest(listRest("one,two,three,four")));
Expected Result: three
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.