Here you can find the source of implodeArray(String[] inputArray, String glueString, int start)
public static String implodeArray(String[] inputArray, String glueString, int start)
//package com.java2s; //License from project: Open Source License public class Main { public static String implodeArray(String[] inputArray, String glueString, int start) { if (inputArray.length > start) { String msg = ""; boolean isFirst = true; for (int i = start; i < inputArray.length; i++) { if (!isFirst) msg += glueString;// ww w . j a v a 2s . co m msg += inputArray[i]; isFirst = false; } return msg; } return ""; } }