Class StringUtil

java.lang.Object
org.apache.tinkerpop.gremlin.util.StringUtil

public final class StringUtil extends Object
Utility class for Strings.
Author:
Andrea Child
  • Method Details

    • split

      public static List<String> split(String toSplit, String separator)
      Splits the provided string into a List of string by the given separator, which will not be included in the returned List.
      Parameters:
      toSplit - the string to split
      separator - the separator string to split by - empty will split into a List of characters
      Returns:
      a List of parsed strings, not including the given separator