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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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 splitseparator
- 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
-
-