Skip to main content
Version: 6.1

Replace

This Function returns a <string>, composed by the Source string, having the String to replace replaced by the New string.

Parameters​

  • Source string <string> - String from where the value will be retrieved.
  • String to replace <string> - String to replace in the Source string.
  • New string <string> - String to replace the String to replace in the Source string.

Examples​

  • Example 1

Replace("Kalipso is good.", "good", "very good")
Result = Kalipso is very good.

  • Example 2

Replace("Kalipso is very good.", "xpto", "bad")
Result = Kalipso is very good.