Since the string is delimited with a single character (commas), you can treat it as a list.

<cfset fourth=listGetAt(var,4)>

You could also loop through the list and place them in an array, if you want to get at more than jsut the fourth item.

Jerry Johnson

>>> [EMAIL PROTECTED] 12/05/03 03:51PM >>>
I need to be able to manipulate a string that is NOT a name value pair. This
string is passed from another server, so how doo I �grab� the string and
start manipulating it.

below is a sample string as it is passed from the server:
1,2,3,abcdef,9,00000,jdleor,5

how would I get the fourth value (abcdef) from the sample string?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to