摘要: 字符串截取方法 1 let hd = 'abcdefg' 2 3 hd.slice(1) //bcdefg 4 hd.substring(1) //bcdefg 5 hd.substr(1) //bcdefg 6 7 8 hd.slice(1,3) //bc 9 hd.substring(1,3) 阅读全文
posted @ 2021-01-18 17:58 人才不才 阅读(109) 评论(0) 推荐(0) 编辑