ListLast()
Gets the last element of a list.
ListLast( list=string, delimiters=string, includeEmptyFields=boolean, count=number );
Returns: String
Examples
//Simple Example
writeoutput(listLast("Susi ,LAS,,lucee,,,test"));
//Member Function
strList=",I,,love,lucee,,";
writeDump(strList.listLast());
See also
- Lists
- Strings
- string.listLast()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)