On Thu, Jul 8, 2010 at 8:03 PM, Dave Watts wrote: > >> I would want to do len(trim(string)) gt 0 or trim(string) != "" since >> technically " " fulfills your if condition though remains undesirable. > > I think his point is that CF, unlike some other languages, supports > implicit Boolean evaluation. Some people really don't like it.
Oh, you know I'm too well rounded to have a point. =) Really I was reminiscing about a conversation we had long ago, more than contributing anything "real" to the conversation. Programming is teh awesome. :Den -- While one man can discover a certain thing by himself, another is never able to understand it, even if taught by means of all possible expressions and metaphors, and during a long period; his mind can in no way grasp it, his capacity is insufficient for it. Maimonides ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm