public static String implode (List strings, String separator) {
        StringBuilder sb = new StringBuilder();        
        Iterator ite = strings.iterator();
        while(ite.hasNext()) {
            sb.append(ite.next().toString());
            if(ite.hasNext())
                sb.append(separator);
        }
        return sb.toString();
    }