JAVA 数组

// TODO Auto-generated method stub
String spcname="贵州黔南布依族苗*XXXX*234234234234*";
String[] temp=spcname.split("\\*");
for(int i=0;i<temp.length;i++){
    System.out.println(temp[i]+i);
}

 

转译字符串* 特殊

posted @ 2019-10-17 11:54  天涯故事  阅读(90)  评论(0编辑  收藏  举报