_.startCase

_.startCase([string=''])

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'
doc_Lodash
2016-11-27 16:40:42
Comments
Leave a Comment

Please login to continue.