Look at FindOneOf or FindNoCase functions -- See page 348 of CFML Language
Reference Manual
Arden Weiss
410-757-3487
-----Original Message-----
From: Peter Benoit [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 2:08 PM
To: CF-Talk
Subject: contains
If I have a string like:
<cfset tmpstr ="thisismystringpeterthatwasmystring">
how can I find "peter" in that mess?
I tried
<cfif tmpstr contains "peter">
and
<cfif FindNoCase("peter",tmpstr)>
but neither one worked. Could someone tell me what I'm doing wrong?
Thanks,
Pete
------------------------------------------------------------------------
------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]