Q. Which method is used to replace occurrences of a pattern in a string with a specified string in Ruby?
β
Correct Answer: (C)
String#gsub
You must be Logged in to update hint/solution