摘要: Split(分割字符或者正则表达式); 返回值String[]数组 SubString() :截取子串 SubString(from), 截取的子串范围[from , len-1] 从from截取到最后 SubString(from,to) ,截取的子串范围:[from, to) 左闭右开 ,截取的 阅读全文
posted @ 2019-10-16 20:05 MRCHENH 阅读(51980) 评论(0) 推荐(0) 编辑
摘要: 1 import java.util.Arrays; 2 3 public class Test01 { 4 public static void main(String[] args) { 5 // 数组拷贝方式1 6 // int[] a= {1,2,3,4,5}; 7 // int[] b= new int[a.length]; 8 // for(int i=0;i<a.length;i++ 阅读全文
posted @ 2019-10-16 20:00 MRCHENH 阅读(207) 评论(0) 推荐(0) 编辑