結果 : get everything before a character python