Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/demoth/jake2
/ StripExtension
Method
StripExtension
qcommon/src/main/java/jake2/qcommon/Com.java:336–341 ·
view source on GitHub ↗
(String string)
Source
from the content-addressed store, hash-verified
334
}
335
336
public
static
String StripExtension(String string) {
337
int
i = string.lastIndexOf(
'.'
);
338
if
(i < 0)
339
return
string;
340
return
string.substring(0, i);
341
}
342
}
Callers
2
CL
Class · 0.95
CheckOrDownloadFile
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected