The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

This will output "3" to the screen, the 2nd index of the comma delimited list. If you have a list with a delimiter that is not a comma, ie:

<cfset lstNumbers = "1|3|5|7|9" />

you can use:

#ListGetAt( VARIABLES.lstNumbers, 2, '|' )#

to specify the custom delimiter.

Also, what Rudy says is true beyond your wildest dreams. It's like the story of giving a man a fish (ie, just telling you the answer) vs. TEACHING a man to fish (ie, teaching you to use search engines or find the answer on your own)

Easily enough you could have Google'd "ColdFusion List Functions" and would have gotten the ListGetAt with no problems.

Also, the reason why you failed too is because a List is NOT an Array. ( Though CF provides a handy BIF (built-in function) called ListToArray()! ) When you say " Files[x]", that is Array notation, indicating the x element within the array.

Lists don't have array elements, they have index positions (starting with 1). Drop $40, pickup The ColdFusion 8 Web Application Construction Kit Volume 1, and give it a read through. A GREAT piece of literature that will get you all the basic CF functions and then some.

Really? Your English sounds very good, IMO. You seem to type (speak?) it very fluently.

I usually give data in myTable first with some point colors.

Can you guess why do I work hard(?) for making point colors and keeping the patterns?

I need ColdFusion English here in this forum instead of real English.

Hm ~, as I do actively question in this forum for the recent some years. I think I might become somewhat more fluent English posting maker than a fluent ColdFusioner. ( I learned English more than coldFusion from this forum as a result currently.)