remove semicolons from string pytohn code example Example: strip comma from string python s = s.replace(',', '')