<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]
