You could just loop the string with a space delimiter?

<cfset myString = 'A & B' />

<cfloop list="#myString#" delimiter=" " index="i">
        #i#
</cfloop>

You could also use listToArray(myString, " ") to convert the list to a
nice array of values.

Chris Peterson
Gainey IT
Adobe Certified Advanced Coldfusion Developer
-----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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282085
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