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