摘要: public static String trim(String source, char c){ String beTrim = String.valueOf(c); source = source.trim(); // 循环去掉字符串首的beTrim字符 String beginChar = source.substring(0, 1); while (beginChar.equalsIgnoreCase(beTrim)) { source = source.substring(1, source.... 阅读全文
posted @ 2013-08-13 18:49 only.lonely 阅读(4147) 评论(0) 推荐(0) 编辑