字符串的内置方法 陈月月 2020-06-30 86 阅读1分钟 concat(合并) substr() indexof() lastIndexOf() splic(剪切) substring() replace(替换) split(字符串转数组) match() charAt(通过下标找元素) toUpperCase(大写) toLowerCase(小写)