Tag Archives: Regular Expressions

How to Trim() a String

Sometimes we all wonder: how is it that such a widespread language as javascript does not already have a built-in function like trim()?! Weird, yes. Easy, yes, too. In fact, you can simply extend the String object with any number … Read More »»»

Posted in Javascript | Tagged , , , , , , | Leave a comment