Node.js examples for String:Case
Capitalize String
String.prototype.capitalize = function() { if (this[0]) return this[0].toUpperCase() + this.slice(1); };