string_replace

Replaces all occurrences of a substring in the given input string with a replacement string.

Inputs

string

The input string.

old

The substring to be replaced.

new

The replacement string.

Output

modified

The input string with all occurrences of the old substring replaced with the replacement string.