String str = "a,b,c,d"; String[] arr = str.split(","); List<String> list = Arrays.asList(str);==List<String> list = Arrays.asList(str.split(","));