public String left2(String str) { String left = str.substring(0,2); String right = str.substring(2); return right + left; }