結果 : python select part of string before character