MCPcopy Index your code
hub / github.com/antlr/codebuff / strip

Method strip

output/java8/1.4.13/Misc.java:70–71  ·  view source on GitHub ↗
(String s, int n)

Source from the content-addressed store, hash-verified

68// }
69
70 public static String strip(String s, int n) { return s.substring(n, s.length()-n);
71 }
72
73// public static String stripRight(String s, int n) {
74// return s.substring(0, s.length()-n);

Callers 3

createSingletonMethod · 0.95
importTemplatesMethod · 0.95

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected