Arcath
Arcath

Reputation: 4391

String Replacement in VBS

I need to replace "." with "˙", im not sure how to do this in VBS, in ruby its gsub(".","˙") but i cant find anything to do this in VBS

Upvotes: 0

Views: 592

Answers (3)

Moir
Moir

Reputation: 387

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]]])

Upvotes: 0

hgulyan
hgulyan

Reputation: 8239

Did you try this?

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

Upvotes: 3

Jakob Christensen
Jakob Christensen

Reputation: 14956

It is called Replace.

Upvotes: 1

Related Questions