Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
defineArgDefaultValueTemplates
Method · 0.95
createSingleton
Method · 0.95
importTemplates
Method · 0.95
Calls
1
length
Method · 0.45
Tested by
no test coverage detected