return format.replace(/\{(\d+)\}/g, function(m, i){
return Roo.util.Format.htmlEncode(args[i]);
});
- }.
+ }
});
);
};
+
+/**
+ * Make the first letter of a string uppercase
+ *
+ * @return {String} The new string.
+ */
+String.prototype.toUpperCaseFirst = function () {
+ return this.charAt(0).toUpperCase() + this.slice(1);
+};
+