結果 : use of substring method in java