lodash capitalize 首字母大寫

_.capitalize([string=''])

轉換字符串首字母爲大寫,剩下爲小寫。html

_.capitalize('FREE');
// => 'Free'
相關文章
相關標籤/搜索