4.17.11
3.10.1
2.4.2
1.3.1

_.startCase([string=''])

Converts string to start case.

Since

3.1.0

Arguments

argument
[string='']
type
string
description
The string to convert.

Returns

(array)

Example

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

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

_.startCase("__FOO_BAR__");
// => 'FOO BAR'
_.startCase("--foo-bar--");
// => 'Foo Bar'

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

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