Converts string to start case.
string
The string to convert.
Returns the start cased string.
3.1.0
camelCase, lowerCase, kebabCase, snakeCase, upperCase, upperFirst
startCase('--foo-bar--')// => 'Foo Bar'startCase('fooBar')// => 'Foo Bar'startCase('__FOO_BAR__')// => 'FOO BAR' Copy
startCase('--foo-bar--')// => 'Foo Bar'startCase('fooBar')// => 'Foo Bar'startCase('__FOO_BAR__')// => 'FOO BAR'
Converts
string
to start case.