Oops... forgot the 1) 2) etc...

<cfset mylist = "A & B & C" />

<cfoutput>
<cfloop from="1" to="#listlen(mylist, ' ')#" index="i">
#i#) #listgetat(mylist, i, ' ')#<br />
</cfloop>
</cfoutput>


Will give you...
1) A
2) &
3) B
4) &
5) C

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-----Original Message-----
From: Devi r [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 25, 2007 1:48 PM
To: CF-Talk
Subject: Re: Help Needed!!! Urgent

Hi,
 I need to retrieve all the tokens from the value " A & B" with space as 
delimiter I mean i need the result as 1)A
2) &
3)B
 Is there any function to do it???

regards,
devi bala

>If Forta agrees with us J.J then we are right, haha! I don't think I 
>have ever used getToken().
>
>Dan Vega
>
>On 6/24/07, J.J. Merrick <[EMAIL PROTECTED]> wrote:
>>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282093
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to