public static String join(String joinChar, String... args) {
        String next = ""; //$NON-NLS-1$
        StringBuilder result = new StringBuilder(length(args) + (args.length - 1));

        for (String arg : args) {
            result.append(next);
            result.append(arg);
            next = joinChar;
        }
        return result.toString();
    }
Join together varargs using a join sequence.
<p>
<tt>join("-", a, b, c) => a-b-c</tt>

@param joinChar character to join string
@param args strings to join
@return joined string
common/util/src/main/java/io/apiman/common/util/SimpleStringUtils.java