結果 : remove substring from string after character python