結果 : java code to find substring in a string