Replace Substring
Strings
Replace Substring is a ProtoFlux node that replaces the all occurrences of SearchFor (String) in Str (String) with ReplaceWith (String).
Inputs
Str (String)
The string to search for SearchFor (String) in.
SearchFor (String)
The string to be replacing in Str (String).
ReplaceWith (String)
What to replace SearchFor (String) with.
ComparasonMode (StringComparison)
The mode used to compare the string before evaluation of the replace.
Outputs
* (String)
Returns Str (String) with all occurrences of SearchFor (String) replaced with ReplaceWith (String).
Examples
-
An example of using Replace Substring to cut out "cheese" from a transcript.