Roland Collins wrote:

I use a nearly identical version of that for null strings and numbers.

I also use one for dates that uses our "magic" null date:

<cffunction name="IsNullDate" returntype="boolean" output="false">
        <cfargument name="dt" type="string" required="true" />
        <cfreturn (arguments.dt is "" or arguments.dt is "1/1/1950")>
</cffunction>
I assume this the one waiting in the CFLib.org queue?  ;-)

--
Peter J. Farrell :: Maestro Publishing

blog    :: http://blog.maestropublishing.com
email   :: [EMAIL PROTECTED]

Create boilerplate beans!
Check out the Mach-II Bean Creator - free download.
http://blog.maestropublishing.com/mach-ii_beaner.htm



----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to