Java String Split splitValues(String value)

Here you can find the source of splitValues(String value)

Description

split Values

License

Apache License

Declaration

protected static List<String> splitValues(String value) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.util.ArrayList;
import java.util.List;

public class Main {
    protected static List<String> splitValues(String value) {
        List<String> values = new ArrayList<>();
        for (String valueStr : value.split(",")) {
            values.add(valueStr.trim().toLowerCase());
        }/*from w w w.j a v a 2s. c o m*/
        return values;
    }
}

Related

  1. splitToList(String valueString)
  2. splitToTopLevelJsonObjects(String s)
  3. splitTypeArguments(final String nestedTypes)
  4. splitTypes(String fullName)
  5. splitValues(String strValues)
  6. splitVersion(String version)
  7. splitWithoutEscaped(String str, String sep)
  8. splitWS(String s, boolean decode)
  9. splitws(String val)