結果 : substring till a character in python