日期:2014-05-20 浏览次数:20931 次
char [] text = {'i','s',' ','e','x','a','c','t','l','y'}; StringBuffer buf = new StringBuffer(); buf.append(text, 2, 8); System.out.println(buf);