ListInsertAt()
Inserts an element in a list.
ListInsertAt( list=string, position=number, value=string, delimiters=string, includeEmptyFields=boolean );
Returns: String
Examples
writeOutput(listInsertAt("a,,b,c,",1,"one"));
//Member Function with @ delimiter
strList="a@b@d";
writeDump(strList.listInsertAt(3,"c","@"));
See also
- Lists
- Strings
- string.listInsertAt()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)