开发者

String Replacement in VBS

开发者 https://www.devze.com 2023-01-02 01:01 出处:网络
I need to replace \".\" wi开发者_运维问答th \"˙\", im not sure how to do this in VBS, in ruby its gsub(\".\",\"˙\") but i cant find anything to do this in VBSDid you try this?

I need to replace "." wi开发者_运维问答th "˙", im not sure how to do this in VBS, in ruby its gsub(".","˙") but i cant find anything to do this in VBS


Did you try this?

REPLACE(str, ".", "˙")


It is called Replace.


Here is the MSDN on the Replace function in VBS

https://msdn.microsoft.com/en-us/library/bt3szac5(v=vs.90).aspx

And here is w3schools

http://www.w3schools.com/asp/func_replace.asp

Replace(string,find,replacewith[,start[,count[,compare]]])
0

精彩评论

暂无评论...
验证码 换一张
取 消