supplant(str, o) {
		return str.replace(/{([^{}]*)}/g,
			function (a, b) {
				let r = o[b];
				return (r !== undefined) ? r : a;
			}
		);
	}
/**
	 * Replace the placeholders in the string by the values in the object
	 */
Replace the placeholders in the string by the values in the object
Replace the placeholders in the string by the values in the object
supplant(str, o) {
		return str.replace(/{([^{}]*)}/g,
			function (a, b) {
				let r = o[b];
				return (r !== undefined) ? r : a;
			}
		);
	}
supplant ( str , o ) { return str . replace ( / {([^{}]*)} / g , function ( a , b ) { let r = o [ b ] ; return ( r !== undefined ) ? r : a ; } ) ; }
Replace the placeholders in the string by the values in the object
Replace the placeholders in the string by the values in the object