I found this to be very useful when I wanted to parse CSV strings into a Java List:

Arrays.asList(someCsvString,split(“\\s*,\\s*”));

The nice part with this solution is the regex includes any spaces around the CSV.