标签:string vba 回车符 tab 引号 str 单引号 空格 ring
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符
标签:string vba 回车符 tab 引号 str 单引号 空格 ring
原文地址:https://www.cnblogs.com/shida-liu/p/12115229.html