/**
 * @author masashi@metadata.co.jp
 */

/**
 * 文字列拡張。文字全体から選択して置換する。
 * @param {Object} lhv 
 * @param {Object} rhv
 */
String.prototype.replaceAll = function(lhv, rhv){
	var buf = this;
	while(buf.indexOf(lhv) != -1){
		buf = buf.replace(lhv, rhv);
	};
	return buf;
};



