How about IsSocial to determine if the number is a Social Security Number.


Vance Duke
Cold Fusion Application Developer
x4729



                                                                                       
                            
                    "Michael                                                           
                            
                    Dinowitz"            To:     <[EMAIL PROTECTED]>           
                            
                    <mdinowit@i-2        cc:                                           
                            
                    000.com>             Subject:     Re: Functions in Cold Fusion     
                            
                                                                                       
                            
                    08/01/00                                                           
                            
                    12:10 PM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    cf-talk                                                            
                            
                                                                                       
                            
                                                                                       
                            



OK, I need some community input here. For my article on custom functions,
I've written one for IsEmail and IsPhone. Can people send me a few others
to
'add in'. I'd like the article to have a few pre-built functions that can
be
used right off the bat. The only limits are that they must be built using
functions in CF. No tags. For example, IsPhone uses this code:
REFindNoCase('([0-9]{3}[-_. /]?)?[0-9]{3}[-_. /]?[0-9]{4}', number)

----- Original Message -----
From: "Michael Dinowitz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 01, 2000 12:42 PM
Subject: Re: Functions in Cold Fusion


> I'm currently writing an article for the next Fusion Authority (out in
the
> next day) on how to write and use custom functions in CF. This is not
using
> modules or any CF tags but is actually using function calls. It's a bit
of
a
> hack and can look ugly in places, but it works. The result is that I can
> have something like IsValidEmail(email) and it'll return a value that
says
> yes or no.
>
>
--------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------

Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.




------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to