ListGetAt()
Gets a list element at a specified position.
ListGetAt( list=string, position=number, delimiters=string, includeEmptyFields=boolean );
Returns: String
Examples
writeOutput(listGetAt("a,,b,c,",3,",",true));//Returns b
//Member Function with '/' delimiter
strList="/a//b/c//d";
writeDump(strList.listGetAt(5,"/",true));//Expected output c
See also
- Lists
- Strings
- string.listGetAt()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)