Skip to main content

becks

Member since Dec 11, 2008

Recent Blog Comments By becks

  • Ask Ben: Javascript String Replace Method

    Posted on Aug 28, 2007 at 11:55 AM

    Sorry if my question was vague, I'm using Ajax to send queries to an Oracle database. The problem I was having was that for Oracle strings containing the single quote (') need to have it escaped. So I know typically you'd ensure that the value you send to the database is something like this: "Jane... read more »

  • Ask Ben: Javascript String Replace Method

    Posted on Aug 27, 2007 at 4:25 AM

    Hi Ben, This was a true lesson in string manipulation for me, so thumbs up on this article. My question is how would I escape single or double quotes with your first example? For example, given the text: "Jane's Defense Weekly" I ended up looping endlessly by trying to replace "'" with "\'"; o... 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