結果 : find end of substring python