capitalize

.capitalize string:{String} -> String

Capitalizes the first character of a string. Example: hello, world! ->Hello, world!

Return

a new string with the first character capitalized

Parameters

string

string to capitalize