ListIndexExists()
Determines if an element at the given position exists or not
ListIndexExists( list=string, index=number, delimiter=string, includeEmptyFields=boolean );
Returns: Boolean
Examples
//Simple Example
writeoutput(listIndexExists("Susi,LAS,,lucee,,,test",3));
//Member Function
strList=",I,,love,lucee,,";
writeDump(strList.listIndexExists(6));//Not exists, returns false
See also
- Lists
- Strings
- string.listIndexExists()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)