get what letter?
There are many string functions, I'm sure one of them will accomplish
whatever it is you need to do.
Bryan Love Macromedia Certified Professional
Internet Application Developer / Database Analyst
Telecommunication Systems Inc.
[EMAIL PROTECTED]
...'If there must be
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
I just tried some similar code as well when I saw that it skips white
space in the string.
-Original Message-
From: Craig [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 16:21
To: CF-Talk
Subject: Re: Looping through text string
something like:
cfset mystring = I am
- Original Message -
From: Kevin Gilchrist [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, November 19, 2001 3:26 PM
Subject: RE: Looping through text string
I just tried some similar code as well when I saw that it skips white
space in the string.
-Original Message
Thanks, that's good to know!
(although a little annoying from a code readability/indentation
perspective)
-Original Message-
From: Craig [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 16:33
To: CF-Talk
Subject: Re: Looping through text string
I tried it and it did not skip
5 matches
Mail list logo