mystring=replace(mystring,chr(39),"") ‘替换单引号
mystring=replace(mystring,chr(34),"") ‘替换双引号
mystring=replace(mystring,"<","") ‘替换<
mystring=replace(mystring,">","") ‘替换>
mystring=replace(mystring,chr(13),"") ‘替换回车符
mystring=replace(mystring,chr(32),"") ‘替换空格符
mystring=replace(mystring,chr(9),"") ‘替换tab符
原文地址:https://www.cnblogs.com/shida-liu/p/12115229.html
时间: 2024-10-10 22:41:17