Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.


Member since Feb 14, 2010

Recent Blog Comments By Martin

  • ColdFusion String Comparison: Compare() vs. Equals() vs. CompareTo()

    Posted on Feb 24, 2011 at 1:09 PM

    Besides speed there is something to consider when choosing a comparison method: Today I spend hours to find a "bug" in the simple statement // if (left (tf, j) is curr_dp) { .... if (compare (left (tf, j), curr_dp) is 0) { .... the simple test "is" fooled me for hours ... giv... read more »

  • ColdFusion 8 ImageDrawTextArea() (Inspired By Barney Boisvert!)

    Posted on Mar 8, 2010 at 6:51 PM

    I made my comment because I am no Java geek. I did not know whether Java by itself accounts for cr/lf, \n etc. It obviously does not. So I also created my own derivation from your DrawText and I came up with about the same solution as Rob. However, I found another very annoying "strangeness" in CF8... read more »

  • ColdFusion 8 ImageDrawTextArea() (Inspired By Barney Boisvert!)

    Posted on Feb 14, 2010 at 11:50 AM

    Thanks for this function. However, it is missing the ability to consider cr/lf to end the current line. True or not? At least I was not able to get text with cr/lf or \n or <br> to layout as desired.... read more »