only if it had never been set:
<cfset myString = createobject("component","types.String")>
<cfoutput>#myString.isNull()#</cfoutput> <--- should return "true" --->
<cfset myString.init("Hello World")>
<cfoutput>#myString.isNull()#</cfoutput> <--- should return "false" --->
/t
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Kerry
>Sent: Wednesday, September 21, 2005 3:21 PM
>To: [email protected]
>Subject: RE: [CFCDev] Default for Dates in a Transfer object
>
>>basically an isNull() method
>hmm, would that return true simply if the value had zero length?
>or only if it had never been set?
----------------------------------------------------------
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]