Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at CFUNITED 2009 (Lansdowne, VA) with:

nikolaus

Member since Dec 11, 2008

Recent Blog Comments By nikolaus

  • Ask Ben: Javascript String Replace Method

    Posted on Sep 10, 2008 at 1:00 PM

    To blueprints: Here are your javascript expressions to convert a Windows file path to a UNC path and back: Example 1: Var inputstring = ... (do that yourself)(grab string from the input node via the usual dom access methods - use a js toolkit if you find it hard to get it to run on all browsers) ... read more »

  • Ask Ben: Javascript String Replace Method

    Posted on Nov 25, 2007 at 9:57 AM

    Hi Ben, the String.prototype.replaceAll variant is definitely the most elegant. I have just one litte improvement in mind: it runs into an endless look when given identical parameters (can occur when used dynamically on data). i.e. a little <code>if(strTarget == strSubString) return;<... read more »