The simplest way to replace a string in Ruby is to use the substring replacement. ... We can accomplish this by using the built-in sub and gsub method.
確定! 回上一頁