I've found that it's a good practice to trim any strings whose length
is being tested - especially when testing for zero-length.  You never
know when a space is going to sneak in there and I find random spaces
that I'm not expecting to be a very time consuming thing to debug
because it's never the first (or even the thirty-first) thing I try.

Take it for what it's worth.  Maybe I'm just not a quick learner.  :-)

On 3/24/06, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> <cfif NOT len(trim(expr3))>  will ctach NULLs
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236177
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to