Java tutorial
//package com.java2s; public class Main { private static String[] convertStringToArray(String str) { String[] arr = str.split(","); return arr; } }