Package com.plotsquared.core.util
Class StringMan
java.lang.Object
com.plotsquared.core.util.StringMan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic intintersection(Set<String> options, String[] toCheck) static booleanisAlphanumericUnd(String str) static booleanstatic booleanisEqualIgnoreCaseToAny(@NonNull String a, String... args) static Stringstatic Stringjoin(Collection<?> collection, String delimiter) static StringjoinOrdered(Collection<?> collection, String delimiter) static StringsplitMessage(@NonNull String message)
-
Constructor Details
-
StringMan
public StringMan()
-
-
Method Details
-
intersection
-
isAlphanumericUnd
-
join
-
joinOrdered
-
getLevenshteinDistance
-
join
-
isEqualIgnoreCaseToAny
-
isEqual
-
repeat
-
splitMessage
- Parameters:
message- an input string- Returns:
- a list of strings
- Since:
- 6.4.0
Converts multiple quoted and single strings into a list of strings Input Output title "sub title" ["title", "sub title"] "a title" subtitle ["a title", "subtitle"] "title" "subtitle" ["title", "subtitle"] "PlotSquared is going well" the authors "and many contributors" ["PlotSquared is going well", "the", "authors", "and many contributors"]
-