- 作用
Indexof,lastIndexOf,substring,split,substr等方式是用于截取,操作字符串,数组的。
-
Indexof
-
lastIndexof
![!](https://img-blog.csdnimg.cn/20190731181514262.png) -
substring
-
substring和lastindexof结合使用
-
split
总结:记录一下,健忘。
Indexof,lastIndexOf,substring,split,substr等方式是用于截取,操作字符串,数组的。
Indexof
lastIndexof
![!](https://img-blog.csdnimg.cn/20190731181514262.png)
substring
substring和lastindexof结合使用
split
总结:记录一下,健忘。