Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Dave Ferguson and Simon Free and Tim Cunningham and Jason Dean
Ben Nadel at cf.Objective() 2014 (Bloomington, MN) with: Dave Ferguson@dfgrumpy ) , Simon Free@simonfree ) , Tim Cunningham@TimCunningham71 ) , and Jason Dean@JasonPDean )

bruce

Member since Feb 6, 2010

Recent Blog Comments By bruce

  • Ask Ben: Javascript String Replace Method

    Posted on Feb 17, 2010 at 7:29 AM

    @Ban,Are the numbers to be replaced always in the same position with in the string? If so you can use substr to get the numbers to keep and join that to the characters you want "changed".... read more »

  • Ask Ben: Javascript String Replace Method

    Posted on Feb 6, 2010 at 11:55 AM

    I declare a gobal variable. Later I update that with a string. Within that string are placeholders. I determine what the correct words are for each placeholders within an if { statement and use a replace command to update the placeholder }. when I go to the next placeholder and do the replace com... read more »