結果 : remove rest of string after character python