[java] Is it possible to get only the first character of a String?