String.format and String.prototype.trim