Hi, have a look at the String API doc. split(...) is the one you want to separate first and last.