python如何去掉字符串‘\xa0’

s = '09月27日\xa0发布'
s = "".join(s.split())
s
'09月27日发布'

猜你喜欢

转载自www.cnblogs.com/hankleo/p/11322847.html