摘要:
源文:http://blog.sina.com.cn/s/blog_751363650100qbqy.html1、length() 字符串的长度 例:char chars[]={'a','b'.'c'}; String s=new String(chars); int len=s.length();2、charAt() 截取一个字符 例:char ch; ch="abc".charAt(1); 返回'b'3、getChars() 截取多个字符 void getChars(int sourceStart,ints 阅读全文
posted @ 2013-03-31 12:07
dolinux
阅读(371)
评论(0)
推荐(0)

浙公网安备 33010602011771号