can.capitalize
Capitalize the first letter of a string. can.capitalize('candy is fun!'); //-> Returns: 'Candy is fun!'
can.capitalize(str)
Parameters
-
str
{String}
The string to capitalize.
Returns
{String}
The string with the first letter capitalized.