something like:
<cfset mystring = "I am a string">
<cfset stringlength = len(mystring)>
<cfloop from="1" to="#stringlength#" index="i">
<cfset currentletter = mid(mystring, i, 1)>
<cfoutput>#currentletter# </cfoutput>
</cfloop>
----- Original Message -----
From: "raphael" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 19, 2001 2:56 PM
Subject: Looping through text string
> Anyone know how to loop through a text string to get the letter?
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists