結果 : python parse string based on character