title: Take (n) characters from a string
body: <p>I have a string in java, of uncertain length, and I need to take the first 3 and last 3 characters and put them into new strings. Is there a simple way to do this?</p>