myString.gsub("PHP", "Ruby") => "Welcome to Ruby Essentials!" An entire string, as opposed to a substring, may be replaced using the replace method:
確定! 回上一頁