Skip to main content
Version: 4.0.0

Replace Substring

Replaces a portion of the string (substring).

Input

NameData TypeDescription
Source StringStringThe string that contains the substring to be replaced.
From SubstringStringThe original substring to be replaced.
To SubstringStringThe substring that will replace the original substring.
Replace AllBooleanCheck to replace all occurrences of the substring. Uncheck to only replace the first occurrence.

Output

NameData TypeDescription
New StringStringThe string with the replaced substring. This will be a new string; the original string will remain untouched.