JS 前20个常用字符串方法及使用方式
JS 前20个常用字符串方法及使用方式主要介绍一些最常用的JS字符串函数,列表如下:charAt(x)charCodeAt(x)concat(v1,v2…)fromCharcode(c1,c2)indexOf(substr, [start])lastIndexOf(substr, [start])match(regexp)replace(regexp/substr, replacetext)search(regexp)slice(start, [end])split(delimite
原创
2021-10-12 16:24:58 ·
1137 阅读 ·
0 评论