📜  java join list of strings - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:08.206000             🧑  作者: Mango

代码示例2
List list = Arrays.asList("a","b","c");
String result = String.join(",", list);

System.out.println(result);        //prints a,b,c