cfif Find(?, curlink)
cfset thisDelim =
cfelse
cfset thisDelim = ?
/cfif
cfset newlink = ListAppend(curlink, mynewvars, thisDelim)
On Thu, Mar 12, 2009 at 8:52 AM, Robert Harrison rob...@austin-williams.com
wrote:
I want to know if a string contains a ? or not.
Essentially, the
I should really reply with RTFM and get you to look this up yourself. :P
But because I'm feeling generous:
cfif find( '?' , CurLink )
cfset Delim = '' /
cfelse
cfset Delim = '?' /
/cfif
cfset NewLink = ListAppend( CurLink , MyNewVars , Delim )/
Any questions? :)
Heh, didn't see your answer when I posted.
Nice to see we both gave the same solution. :)
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
[mailto:bought...@gmail.com]
Sent: Thursday, March 12, 2009 11:00 AM
To: cf-talk
Subject: Re: Does String Contain?
I should really reply with RTFM and get you to look this up yourself. :P
But because I'm feeling generous:
cfif find( '?' , CurLink )
cfset Delim = '' /
cfelse
Great minds... :-)
On Thu, Mar 12, 2009 at 10:03 AM, Peter Boughton bought...@gmail.comwrote:
Heh, didn't see your answer when I posted.
Nice to see we both gave the same solution. :)
~|
Adobe® ColdFusion® 8 software 8
Now that I see this I don't know what the heck I was thinking earlier.
Brain freeze.
Yeah, I know that feeling far too well. :(
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the
6 matches
Mail list logo