Java tutorial
//package com.java2s; //License from project: Apache License public class Main { /** * uses a string builder to merge a set of strings * * @param args multiple string inputs * @return concatinated string */ public static String getTempString(String... args) { StringBuilder stringBuilder = new StringBuilder(); for (String str : args) { stringBuilder.append(str); } return stringBuilder.toString(); } }