Java tutorial
//package com.java2s; public class Main { public static String doubleArr2String(Double[] doubleArray, String delimeter) { String str = ""; for (int i = 0; i < doubleArray.length; i++) { str += delimeter + Double.toString(doubleArray[i]); } if (!str.isEmpty()) str = str.substring(1); return str; } }