10 2013 档案

只有注册用户登录后才能阅读该文。
posted @ 2013-10-29 19:31 huazhiliange 阅读(26) 评论(0) 推荐(0)
摘要:去掉字符串首尾空格 防止不必要的空格导致错误public class test{ public static void main(String[] args) { String str = " abc "; System.out.println(str.length());//输出6 Sy... 阅读全文
posted @ 2013-10-03 20:22 huazhiliange 阅读(2576) 评论(0) 推荐(0)