No need to do a StringBuilder, you can use `s.substring(start, end)` to get a new String that points into the same `char[]` and thus avoids copying data and allocating memory