String join(String[] strings, String separator){

        StringBuilder sb = new StringBuilder();

        for(String string : strings){

            sb.append(string).append(separator);
        }

        return sb.delete(sb.length() - separator.length(), sb.length()).toString();
    }