JavaScript字符串函数总结

JS字符串函数

查找方法:charAt()/indexOf()/lastIndexOf()/match()/search()/split()/replace()
操作方法: concat()/slice(), substring()/substr(), trim, trimLeft, trimRight,
编码方法:字符串编码和解码,URI字符串编码与解码
转换方法:大小写转换:toUpperCase()/toLowerCase()
在这里插入图片描述

posted @ 2021-01-08 09:36  EvanMeetTheWorld  阅读(32)  评论(0)    收藏  举报