 
      
      replace()Replace all occurrences of the search string with the replacement string
replace(s, search, replace_to, replace_count = -1)
s (string)  — A stringsearch (string)  — A string to search forreplace_to (string)  — The replacement stringreplace_count (number, optional)  — The number of replacements performed. If replace_count is -1 then all occurrences will be replaced. The default value is -1
string — Returns the replaced string
replace("Hello World", "l", "y")      ' Returns "Heyyo Woryd"
replace("Hello World", "l", "y", 2)   ' Returns "Heyyo World"