会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ServerSocket
Ture liberty is to have power over onself in all things
博客园
首页
新随笔
联系
管理
订阅
2018年1月3日
JS 中substring() , substr(), slice() 的区别
摘要: substr(start, length) : 截取从start索引开始的字符,长度为length的字符串 substring(start, end) : 截取从start索引开始的字符,以end索引结束的字符(有一点比较重要的是,start和end的参数是可以互换的,小的在前面,大的在后面) sl
阅读全文
posted @ 2018-01-03 12:53 Animationer
阅读(231)
评论(0)
推荐(0)
编辑
公告