I figured it out:
<CFIF REFindNoCase('0', string) EQ 2>do something</CFIF>
Dave
----- Original Message -----
From: "Dave Hannum" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 12:42 PM
Subject: A little RegEx help . . .
I need to look and see if the second character of a three character string
is a "0" (zero). How would I do that?
<CFIF (insert regex here)> do something </CFIF> 8-)
Thanks,
Dave
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists