Shayne Sweeney
Member since Dec 11, 2008
- Profile: /members/1878-shayne-sweeney.htm
- URL: http://theshayne.com
- Comments: 2
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 »