結果 : java code to get first 3 characters of string