Here you can find the source of arrayToString(String[] array, int start, String delimiter)
public static String arrayToString(String[] array, int start, String delimiter)
//package com.java2s; //License from project: Apache License public class Main { public static String arrayToString(String[] array, int start, String delimiter) { String ret = ""; for (int i = start; i < array.length; i++) { if (i < array.length - 1) { ret += array[i] + delimiter; } else { ret += array[i];/*from w ww.j a v a 2 s .com*/ } } return ret; } }