August 2001
Intermediate to advanced
976 pages
38h 8m
English
ListGetAt
ListGetAt(list, position[,delimiters])
Returns the list element specified by
position. An optional delimiter can be
specified if the list is delimited with a character other than the
comma (the default). Note that the ListGetAt( )
function currently treats successive instances of the same delimiter
as a single delimiter. Here’s an example that retrieves the
third element of the list:
<CFSET MyList = "Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday"> <CFOUTPUT> <B>List:</B> #MyList#<BR> <B>Third Element:</B> #ListGetAt(MyList, 3)# </CFOUTPUT>
Read now
Unlock full access