# Replace

> Kalipso 5.0 documentation · https://doc.sysdevmobile.com/kalipso/5.0/developing/form/expressions/functions/functions-descriptions/string-functions/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.
