String.replace() method
Hello,
Can anybody explain this for me?
var strName = "John Archer";
strName = strName.replace(" ","_");
I should get
strName = "John_Archer";
This is great in client side Javascript. However, the same trick doesn't work when you are using javascript in an ASP application. It seems to falter with both "'" and " ".
|