結果 : python find string before a character