結果 : python get first part of string before character