startCase

String
since 3.1.0

Arguments

  • string The string to convert.

Returns

string the start cased string.

Converts string to start case.

Example of Lodash _.startCase

_.startCase('--foo-bar--');
// => 'Foo Bar'

_.startCase('fooBar');
// => 'Foo Bar'

_.startCase('__FOO_BAR__');
// => 'FOO BAR'