JS常用字符串处理方法应用总结 1 indexOf()方法,从前往后查找字符串位置,大小写敏感,从0开始计数。同理,lastIndexOf() 方法从后往前,两个 JavaScript 2022-04-10 26 点赞 0 评论 39 浏览