Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at the jQuery Conference 2010 (Boston, MA) with: The jQuery Community
Ben Nadel at the jQuery Conference 2010 (Boston, MA) with: The jQuery Community ( @jquery )

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 »