Array
Collection
Date
Function
Lang
Math
Object
Seq
String
Util
Properties
Methods
“String” Methods
_.startCase([string=''])
Converts string
to start case.
引入版本
3.1.0
参数
[string='']
(string)
: The string to convert.
返回值
(string)
: Returns the start cased string.
示例
_.startCase('--foo-bar--');// => 'Foo Bar' _.startCase('fooBar');// => 'Foo Bar' _.startCase('__FOO_BAR__');// => 'FOO BAR'