結果 : substring up to character python