Monday, March 20, 2006

Adding trim functions to the JavaScript String object

"The String object in JavaScript contains several powerful methods for manipulating strings. Strangely, though, it doesn't contain any methods that readily permit the removal of whitespace from the beginning or end of a string..." URI