August 2003
Intermediate to advanced
1140 pages
68h 45m
English
ListInsertAt
ListInsertAt(list, position, value [, delimiters])
Inserts
value into list at the specified position.
An optional delimiter can be specified if the list is delimited with
a character other than the comma (the default). The following example
inserts a value into a list:
<cfset MyList = "Monday,Tuesday,Thursday,Friday,Saturday,Sunday"> <cfset MyNewList = ListInsertAt(MyList, 3, "Wednesday")> <cfoutput> <b>Original List:</b> #MyList#<br> <b>New List:</b> #MyNewList# </cfoutput>