4.17.11
3.10.1
2.4.2
1.3.1
_.upperFirst([string=''])
Converts the first character of string to upper case.
Since
4.0.0
Arguments
argument
[string='']type
string
description
The string to convert.
Returns
(array)Example
_.upperFirst("fred");
// => 'Fred'
_.upperFirst("FRED");
// => 'FRED'
_.upperFirst("fred");
// => 'Fred'
_.upperFirst("FRED");
// => 'FRED'