1
2
3
4
String.prototype.ucFirstLetter = function()
{
  return this.substr(0,1).toUpperCase() + this.substr(1);
}