CodeHS
Join Discord
Donate
String-1 > withoutEnd
public String withoutEnd(String str) { return str.substring(1, str.length() - 1); }