Skip to main content

Shayne Sweeney

Member since Dec 11, 2008

Recent Blog Comments By Shayne Sweeney

  • Be Careful Using "#" In ColdFusion DE() Expressions

    Posted on Jun 25, 2008 at 1:10 AM

    What an unusual find! It's very quirky - but seems to work, hopefully somebody can explain a little better. The following code works: <cfset strPhone = "(555) 123-4567" /> <cfset strExt = "##123" /> <cfset strFullPhone = strPhone & IIf(Len(strExt), "'x' & strExt", "") /> <cfou... read more »

  • Be Careful Using "#" In ColdFusion DE() Expressions

    Posted on Jun 24, 2008 at 1:29 PM

    @Elliott I apologize and didn't mean for anything to be offensive and certainly didn't want to make things hostile. I did run your code however - jumped to a hasty conclusion which resulted in me overlooking the ability to add/remove the "x" from the string when appropriate. Clever. Note to self: C... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel