【每日一包0013】to-capital-case,to-constant-case,to-dot-case
文章目录
[github地址:https://github.com/ABCDdouyae...]
to-capital-case
将用符号分开的字符串用空格分隔开,并且每个单词首字母大写
用法:toCapitalCase(str)
返回:string
to-constant-case
将用符号分开的字符串用空格分隔开,并且每个字母大写
用法:toConstantCase(str)
返回:string
to-dot-case
将用符号分开的字符串用.分隔开
用法:toDotCase(str)
返回:string
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论