結果 : java program to find substring in a string without using library function