Sub, gsub. In Ruby, string replacements can be done with the sub() or gsub methods. These are substitution methods. Gsub applies the substitution globally.
確定! 回上一頁