結果 : get substring python based on character