[java] Is there any quick way to get the last two characters in a string?