Here you can find the source of upperInitial()
String.prototype.upperInitial = function() { return this.replace(/(^|\s+)\w/g, function(s) { return s.toUpperCase(); });/*from www .j a v a 2 s.c o m*/ };
String.prototype.upcase = function () { return this.valueOf().toUpperCase(); };
String.prototype.upcase = function(){ return this.toUpperCase(); };
String.prototype.upperCaseFirst = function() { return this.replace(/^./, function(a) { return a.toUpperCase(); }); };
String.prototype.upperFirstChar = function() { return this.charAt(0).toUpperCase() + this.slice(1)
String.prototype.upperFirstLetter = function() { return this.charAt(0).toUpperCase() + this.slice(1);
String.prototype.uppercase = function() { return this.toUpperCase() };
String.prototype.uppercaseFirstLetter = function() { return this.charAt(0).toUpperCase() + this.slice(1); };