結果 : get substring up to character python