> Sean, > I use a UDF called "IsEmpty( )" for readibility purposes. For one thing, > to > truly use the len( ) statement (with or without the "IS 0"), you may > often > be required to trim the variable - especially if it's user input. This > results in:
> <cfif trim(Len(somvar)) IS 0> <cfif len(trim(somevar)) is 0> trim(len()) will trim the number 3 from " ". S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm

