Class StringUtil

java.lang.Object
org.apache.catalina.util.StringUtil

public class StringUtil extends Object
  • Constructor Details

    • StringUtil

      public StringUtil()
  • Method Details

    • splitCommaSeparated

      public static String[] splitCommaSeparated(String s)
      Splits a comma-separated string into an array of String values. Whitespace around the commas is removed. Null or empty values will return a zero-element array.
      Parameters:
      s - The string to split by commas.
      Returns:
      An array of String values.