結果 : remove everything after a character in a string python