Object.extend(String.prototype, {
	leftTrim : function() {
		return (this.replace(/^\s+/, ""));
	},
	rightTrim : function() {
		return (this.replace(/\s+$/, ""));
	},
	basicTrim : function() {
		return (this.replace(/\s+$/, "").replace(/^\s+/, ""));
	},
	superTrim : function() {
		return (this.replace(/\s+/g, " ").replace(/\s+$/, "").replace(/^\s+/, ""));
	},
	removeWhiteSpaces : function() {
		return (this.replace(/\s+/g, ""));
	}
});
