MCPcopy Create free account
hub / github.com/Card-Forge/forge / split

Method split

forge-core/src/main/java/forge/util/TextUtil.java:83–85  ·  view source on GitHub ↗
(CharSequence input, char delimiter)

Source from the content-addressed store, hash-verified

81 }
82
83 public static String[] split(CharSequence input, char delimiter) {
84 return splitWithParenthesis(input, delimiter, Integer.MAX_VALUE, '\0', '\0', true);
85 }
86
87 public static String[] split(CharSequence input, char delimiter, int limit) {
88 return splitWithParenthesis(input, delimiter, limit, '\0', '\0', true);

Callers 15

getOptionalCostValuesMethod · 0.95
handlePrecastSpellsMethod · 0.95
handleAddSAsToStackMethod · 0.95
checkConditionsMethod · 0.95
parseCostPartMethod · 0.95
abCostParseMethod · 0.95
isAnnouncingMethod · 0.95
addAnnounceVarMethod · 0.95
canTgtCreatureMethod · 0.95
parseMethod · 0.95
getSplitHeaderNameMethod · 0.95
readMethod · 0.95

Calls 1

splitWithParenthesisMethod · 0.95

Tested by 5

fromStringMethod · 0.76
parseResultMethod · 0.64
validateFileMethod · 0.64