Skip to main content

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 »

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