MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / removeExt

Method removeExt

app/src/main/java/com/github/catvod/utils/Util.java:48–50  ·  view source on GitHub ↗
(String text)

Source from the content-addressed store, hash-verified

46 }
47
48 public static String removeExt(String text) {
49 return text.contains(".") ? text.substring(0, text.lastIndexOf(".")) : text;
50 }
51
52 public static String substring(String text) {
53 return substring(text, 1);

Callers 4

detectSubMethod · 0.95
setFileSubMethod · 0.95
getSubsMethod · 0.95
removeExtMethod · 0.95

Calls 1

substringMethod · 0.80

Tested by

no test coverage detected