Here you can find the source of ArrayToString(Object[] array, String conv)
public static String ArrayToString(Object[] array, String conv)
//package com.java2s; //License from project: Apache License public class Main { public static String ArrayToString(Object[] array, String conv) { String strReturn = ""; int length = array.length; if (length > 0) { for (int i = 0; i < length - 1; i++) { strReturn += array[i].toString() + conv; }/* w w w . java 2 s .com*/ strReturn += array[length - 1].toString(); } return strReturn; } }