Android Utililty Methods String to CSV Convert

List of utility methods to do String to CSV Convert

Description

The list of methods to do String to CSV Convert are organized into topic(s).

Method

String[]parseFromCSV(String str)
parse From CSV
Pattern csvPattern = Pattern
        .compile("\"([^\"]*)\"|(?<=,|^)([^,]*)(?:,|$)");
Matcher matcher = csvPattern.matcher(str);
List<String> allMatches = new ArrayList<String>();
while (matcher.find()) {
    String match = matcher.group(1);
    if (match != null) {
        allMatches.add(match);
...