Callum McGillivray wrote:

It seems a bit cumbersome and I was wondering if there is a better way.

I whipped up a little bit of code just to help you remember:

<cfset testNull = "" />
<cfset testLen = "I am a long string" />

<cfoutput>
Is testNull var null? #NOT len(testNull)#<br/>
Is testLen var null? #NOT len(testLen)#
</cfoutput>

Best,
.Peter

--
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