// * Set of client-side Javascript String Functions
// Matt Fletcher September 2003

//* Removes leading and trailing spaces from String objects.
String.prototype.trim = function () {
	return this.replace ( /^\s*/, '' ).replace( /\s*$/, '' );
}

//* Removes leading spaces from String Objects
String.prototype.ltrim = function () {
	return this.replace ( /^\s*/, '' );
}

//* Removes trailing spaces from String Objects
String.prototype.rtrim = function () {
	return this.replace ( /\s*$/, '' );
}


