摘要:
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.... 阅读全文