結果 : use of substring function in java