Skip to main content

Martin

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 »

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