Topic: convert single quote to double quotes

Hello, anyone can help with a sample code on how to convert single quotes in a string to double quotes?
regards.

Re: convert single quote to double quotes

msg = "\"Hello\" \"World\""
msg.gsub(/"/, '!')