_.startCase

_.startCase([string=''])

source npm package

Converts string to start case.

Since

3.1.0

Arguments

  1. [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'
Try in REPL
_.startsWith([string='