結果 : python string get substring before character