Thanks Richard... It was the len(string) statement that I was forgetting. 

-----Original Message-----
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 15, 2008 4:11 PM
To: CF-Talk
Subject: Re: Simple List Question

>Probably been covered before...
>How do I take a word like, "apple" and loop through each letter? I'd 
>like to end up with "a.p.p.l.e".
>
>Thanks, Che

loop through the length of the string using len(currentString)

then use the mid function to get each character:

mid(currentString,loopCounter,1) 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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