<cfif mid(variable,2,1) eq "0">

EC

-----Original Message-----
From: Dave Hannum [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 12:43 PM
To: CF-Talk
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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.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

Reply via email to