Java tutorial
//package com.java2s; import java.util.regex.Pattern; public class Main { /** * Splits a comma delimited String sequence into a String[] * @param delimited String to split * @return the split String[] */ public static String[] splitDelimitedString(String delimited) { return delimited.split(Pattern.quote(", ")); } }