hplcdadong 发表于 2015-3-11 08:59 
If you have many things to clean, you'd better use the following new user-written command:
哦哦,txttool,又学习了,多谢多谢!
不过我找到之前出错的原因了,并不是因为符号太多了,而是因为双引号,例如
原始字符串:china?gdp+growth&rate"is"high
我想要的字符串:chinagdpgrowthrateishigh
按照您的代码,是没有问题的
争对双引号,我去查了double quotation,写了下面这个代码
Stata出错
我觉得自己没写错啊,到底是哪里错了?期待您的答复。