startCase
_.startCase(string)
# Ⓢ [Ⓣ][1] Ⓝ
Converts string to
Since
3.1.0
Arguments
string(string): The string to convert.
Returns
(string): Returns the start cased string.
Example
_.startCase('--foo-bar--');
// => 'Foo Bar'
_.startCase('fooBar');
// => 'Foo Bar'
_.startCase('__FOO_BAR__');
// => 'FOO BAR'