結果 : python get substring before character