摘要: 去掉字符串首尾空格 防止不必要的空格导致错误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 阅读(2592) 评论(0) 推荐(0)