MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / removePrefixSuffix

Method removePrefixSuffix

src/main/java/net/optifine/util/StrUtils.java:721–726  ·  view source on GitHub ↗
(String str, String[] prefixes, String[] suffixes)

Source from the content-addressed store, hash-verified

719 }
720
721 public static String removePrefixSuffix(String str, String[] prefixes, String[] suffixes)
722 {
723 str = removePrefix(str, prefixes);
724 str = removeSuffix(str, suffixes);
725 return str;
726 }
727
728 public static String removePrefixSuffix(String str, String prefix, String suffix)
729 {

Callers 6

parseScreensMethod · 0.95
parseLightMapPacksMethod · 0.95
parseTextureLocationsMethod · 0.95
getResourceAsStreamMethod · 0.95
parseGuiScreenMethod · 0.95

Calls 2

removePrefixMethod · 0.95
removeSuffixMethod · 0.95

Tested by

no test coverage detected