Ruby - using gsub to remove parentheses doesn't seem to work

前端 未结 0 606
一向
一向 2020-11-29 13:46

I am trying to replace/remove a substring from a string.

This works:

"memeorandum".gsub("me","you") => "youyouora         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题