Java tutorial
//package com.java2s; import java.util.List; public class Main { public static String concatString(List<String> listOfStrings, String delimeter) { String concat = ""; for (int i = 0; i < listOfStrings.size(); i++) { concat += delimeter + listOfStrings.get(i); } if (!concat.isEmpty()) concat = concat.substring(1); return concat; } }