Let's suppose I have myList like the above.Code:<cfset myList="3,5,7,9">
I like to output the 2nd value in myList.
The following code is one of my trials for it, but I failed.
Code:trial code <cfset myList="3,5,7,9"> <cfoutput> #myList[2]# </cfoutput> target result 5




Bookmarks