获取系统换行符 掘金2023238943 2022-06-23 180 阅读1分钟 System.getProperty("line.separator") StringBuilder builder = new StringBuilder(); builder.append(System.getProperty("line.separator"));