Here you can find the source of argsToString(String args[], int minindex, int maxindex)
public static String argsToString(String args[], int minindex, int maxindex)
//package com.java2s; //License from project: Apache License public class Main { public static String argsToString(String args[], int minindex, int maxindex) { StringBuilder sb = new StringBuilder(); for (int i = minindex; i < maxindex; i++) { sb.append(args[i]);// w ww . ja va 2 s . c o m sb.append(" "); } return sb.toString(); } }