結果 : get substring before character python