/**
 * @namespace com.thesis.base.String
 * @author 钟军锐 August.R@263.net
 */

/** @id trim */
String.prototype.trim = function(){
	return this.replace(/(^[\s]*)|([\s]*$)/g,"");
}

/** @id escape */
String.prototype.escape = function(){
	return escape(this);
}

/** @id unescape */
String.prototype.unescape = function(){
	return unescape(this);
}
