It is probably cheating, but I would create a StringBuffer Object using the constructor StringBuffer(String str) and then use StringBuffer's substring that returns a String.

I didn't use any of...