Here you can find the source of mergeStringArray(String[] array)
public static String mergeStringArray(String[] array)
//package com.java2s; //License from project: Open Source License public class Main { public static String mergeStringArray(String[] array) { return splitStringArray(array, 0); }/* w w w. jav a 2 s .co m*/ public static String splitStringArray(String[] array, int index) { String result = ""; for (int i = index; i < array.length; i++) { result += array[i] + " "; } return result.trim(); } }