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

Method strip

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

Source from the content-addressed store, hash-verified

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

Callers 5

createSingletonMethod · 0.95
importTemplatesMethod · 0.95
histo.pyFile · 0.45

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected