<cfif trim(whatever) eq "">whatever is null</cfif>

-----Original Message-----
From: Johnson, Michael [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 7:46 AM
To: CF-List (E-mail)
Subject: [KCFusion] checking for nulls...


what's the syntax to check if a variable is "null"...


i.e.


<cfif var is 'null>
  <cfset var = "something">
</cfif>


Mike Johnson
Science Application International Corporation
(757) 870-9165
Emai: [EMAIL PROTECTED]


 
 
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]
 


______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]

Reply via email to