I need to write a script that'll fnid a space, replace that space with a ` and then replace the ` with a ` and a space concatenated together. Now I tried finding a function in JavaScript that would allow me to do that but all I could find was some replace method that wants a regular expression as the first parameter. I found a good function in VBscript which allows Replace(string, replaceWhat, replaceWith) but I can't figure out how to call a VBScript from a JavaScript (I have never used VBScript before). Can anybody help out?

Thanks