lodash capitalize 首字母大写

_.capitalize([string=''])

转换字符串首字母为大写,剩下为小写。html

_.capitalize('FREE');
// => 'Free'
相关文章
相关标签/搜索