結果 : python get everything before last occurrence of character