I have the following string and want to remove the trailing comma. How can I accomplish this in VB script. I thought my replace should do it.
I have: str = [{"key" : "132904", }]
I want: [{"key" : "132904"}]
I'm doing: str = Replace(str, ", }]", "}]")
but nothing is happening cause my string remains the same.