2013年9月16日星期一

java split string

Enter a string such as : Andy Lau
how to split this name ?
Big Brother Big Sister who seek enlighten
------ Solution - ------------------------------------------
how kind of split
------ Solution ---------------------------------------- ----
		String [] str = "刘德华".split("");
for(String s : str) {
System.out.println(s);
}

没有评论:

发表评论