ListLen()
Determines the number of elements in a list.
ListLen( list=string, delimiters=string, includeEmptyFields=boolean );
Returns: Number
Examples
writeDump(listLen("susi,sam,LAS,test"));//4
writeDump(listLen("susi,,LAS,,"));//with empty values
writeDump(listLen("susi,,LAS,,."));//3
See also
- Lists
- Strings
- string.ListLen()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)