Skip to main content

Lance

Member since Mar 21, 2010

Recent Blog Comments By Lance

  • Ask Ben: Javascript String Replace Method

    Posted on Mar 21, 2010 at 3:13 PM

    I am trying to make a java program to count the number of times that these punctuation marks occur in a body of text: , : ; . ! - ' " ? / \ I am using this piece to ferret out the commas: numcommas = inputF.replaceAll("[^,]","").length();. However, following this syntax for the rest of the punctua... 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