Java: 指定文字列をデリミタにして文字列を連結 var str = String.join(",", "apple", "orange", "melon"); // apple,orange,melon ref: https://www.sejuku.net/blog/19307