2024-06-01 03:05:24 发布
网友
我的字符串是'MRK\xa0Software\xa0Services\xa0Private\xa0Limited' 我想用空格替换十六进制部分(\xa0),这样
'MRK\xa0Software\xa0Services\xa0Private\xa0Limited'
\xa0
MRK Software Services Private Limited我可以进一步把它分成不同的单词。在
MRK Software Services Private Limited
myString = "MRK\xa0Software\xa0Services\xa0Private\xa0Limited" newString = myString.replace("\xa0", " ")
如果遇到unicode错误,可以尝试:
如果遇到unicode错误,可以尝试:
^{pr2}$相关问题 更多 >
编程相关推荐