Java tutorial
//package com.java2s; public class Main { public static Double[] stringToDoubleArr(String str, String delimeter) { String[] strArr = str.split(delimeter); Double[] doubleArr = new Double[strArr.length]; for (int i = 0; i < strArr.length; i++) { doubleArr[i] = Double.parseDouble(strArr[i]); } return doubleArr; } }