摘要: 按指定长度分割字符串 function my_split(str,leng){ let arr = []; let index = 0; while(index<str.length) arr.push(str.slice(index,index +=leng)); console.log(arr) 阅读全文
posted @ 2021-05-15 15:33 封兴旺 阅读(65) 评论(0) 推荐(0) 编辑

联系方式: 18274305123(微信同号)