Thanks again Duncan. Thought that would be an easy one ;)

Does anyone know any good website where I can find out information like
this? In comparison to some of the other questions in here it seems quite
basic. I've been looking at www.cfhub.com but unless you know what you're
looking for it's not much use.

Really need a list of basic syntax and FAQ's.

Cheers again,
James

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 22 September 2004 17:35
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] Finding out if a string contains particular
characters


<cfif FindNoCase("<a", queryname.yourString)>
     do set 1
<cfelse>
     do set 2
</cfif>



 

                    James

                    Buckingham           To:
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>     
                    <[EMAIL PROTECTED]        cc:

                    a.com>               Subject:     [ cf-dev ] Finding out
if a string contains particular       
                                         characters

                    22/09/2004

                    17:24

                    Please

                    respond to

                    dev

 

 




Hi guys,





Bit of a basic question I'm sure but I need to find a way of seeing if a
string in a database record contains the characters <a (i.e. the start of a
link).





Depending on the answer I want to run one of two sets of code.





How can I do this in Cold Fusion? I'm running version 5.0





Cheers again,


JamesB








-- 
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to