MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / split

Method split

src/main/java/com/volmit/adapt/util/Form.java:747–756  ·  view source on GitHub ↗

":", "a", "b", "c" -> a:b:c @param splitter the splitter that goes in between @param strings the strings @return the result

(String splitter, String... strings)

Source from the content-addressed store, hash-verified

745 * @return the result
746 */
747 public static String split(String splitter, String... strings) {
748 StringBuilder b = new StringBuilder();
749
750 for (String i : strings) {
751 b.append(splitter);
752 b.append(i);
753 }
754
755 return b.substring(splitter.length());
756 }
757
758 /**
759 * Calculate a fancy string representation of a file size. Adds a suffix of B,

Callers 11

onRequestMethod · 0.45
hotloadedMethod · 0.45
hasAdaptationMethod · 0.45
PacketsClass · 0.45
initMethod · 0.45
rgbToColorMethod · 0.45
capitalizeWordsMethod · 0.45
addLoreMethod · 0.45
JSONObjectMethod · 0.45
NameKeyMethod · 0.45

Calls 2

appendMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected