If you would like to replace all occurrences of a pattern with that expression use gsub "string ring".gsub('r','l') # => "stling ling".
確定! 回上一頁