結果 : remove everything after a substring python