Not sure if you've ever used regexps, but that is what you want. Check out
reFind() and the other regexp functions.

http://www.allaire.com/cfdocs/CFML_Language_Reference/3_ColdFusion_Functions
/lr3_200.htm

-----Original Message-----
From: Ruslan Sivak [mailto:[EMAIL PROTECTED]]
Sent: January 17, 2001 17:20
To: CF-Talk
Subject: Validate against a mask


Is there a way to validate against a mask like lets say in MS Access.  Is
there a CF function that does this?

Something like

ConformsToMask("mm-dd-yyyy","01-17-2001")
or
ConformsToMask("###-###-####","111-111-1111")


Ruslan Sivak
Technologist
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to