📜  java string join arraylist - Java 代码示例

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

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

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