1.StringBuffer 怎么添加换行符?
sb.append("\r\n");
只添加“\n”是没有反应的。
“\n”代表换行,英文是New line,表示使光标到行首 “\r”代表回车,英文是Carriage return,表示使光标下移一格