ProtoFlux:ReplaceSubstring

From Resonite Wiki
Revision as of 23:27, 29 September 2025 by AmasterAmaster (talk | contribs) (There is no start index with replace string node, it is a Compoarison Mode input. Spellcheck. The node is not in operators, it is in strings. Updated descriptions.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replace Substring
Str
*
SearchFor
ReplaceWith
ComparisonMode
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