rem: var list2 = split("}", list[i]); 
add: var list2 = split("}", list[i], 1); 
context: function substitute_var(str, subobj){	var list = split("${", str);	var i;	for (i=1;i<list.length;i++) {		var list2 = split("}", list[i]);		if (list2.length < 2) {			return undefined;		}		var key = list2[0];		var val;		if (typeof(subobj[key]) == "undefined") {			val = "${" + key + "}";		} else if (typeof(subobj[key]) == "string") {			val = subobj[key];		} else {			var fn = subobj[key];			val = fn(key);		}		list2[0] = "" + val;		list[i] = join("", list2);	}	return join("", list);}
meta: 1914	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1914/318ac84440754b467cdfb363a47e3fafce1b0fec/base.js/clean/source4/scripting/libjs/base.js