Here you can find the source of mergeStringArrayFromIndex(String[] arrayString, int i)
public static String mergeStringArrayFromIndex(String[] arrayString, int i)
//package com.java2s; //License from project: Open Source License public class Main { public static String mergeStringArrayFromIndex(String[] arrayString, int i) { StringBuilder sb = new StringBuilder(); for (; i < arrayString.length; i++) { sb.append(arrayString[i]);/*from w w w.j a v a 2 s .co m*/ sb.append(' '); } if (sb.length() != 0) { sb.deleteCharAt(sb.length() - 1); } return sb.toString(); } }