String.prototype.capitalize >= 0.1.0

Purpose

Return the string with only the first letter being uppercased

Syntax

String#capitalize ( );

Return values

String

Examples

'capitalize this'.capitalize();>>> "Capitalize this"