ProtoFlux:Replace Substring: Difference between revisions

From Resonite Wiki
forgot a word
again
 
Line 15: Line 15:
|}}
|}}


Replace First Substring is a ProtoFlux node that replaces the all occurrences of SearchFor ([[Type:String|String]]) in Str ([[Type:String|String]]) with ReplaceWith ([[Type:String|String]]).
Replace Substring is a ProtoFlux node that replaces the all occurrences of SearchFor ([[Type:String|String]]) in Str ([[Type:String|String]]) with ReplaceWith ([[Type:String|String]]).


== Inputs ==
== Inputs ==

Latest revision as of 00:44, 19 February 2024

Replace Substring
Str
*
SearchFor
ReplaceWith
StartIndex
Operators

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.

Outputs

* (String)

Returns Str (String) with all occurances of SearchFor (String) replaced with ReplaceWith (String).

Examples