Here you can find the source of combineSplit(int startIndex, String[] string, String separator)
public static String combineSplit(int startIndex, String[] string, String separator)
//package com.java2s; //License from project: Open Source License public class Main { public static String combineSplit(int startIndex, String[] string, String separator) { if (string == null) { return ""; } else {/*from ww w. j ava 2 s.com*/ StringBuilder builder = new StringBuilder(); for (int i = startIndex; i < string.length; i++) { builder.append(string[i]); builder.append(separator); } builder.deleteCharAt(builder.length() - separator.length()); return builder.toString(); } } }