Community ProtoFlux Library/AmasterAmaster/Strings/Parsing/Split String Loop

From Resonite Wiki
Revision as of 09:35, 23 August 2024 by AmasterAmaster (talk | contribs) (Fixed node visual.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a custom ProtoFlux node maintained by AmasterAmaster. Contact the creator of the node (not the Dev Team) with any bugs or issues.
This node was created using an in-game system and has no correlation to the Plugin system. Currently, these types of custom nodes are not officially supported by Resonite.
Split String Loop
*
LoopStart
String
LoopInteration
Separator
LoopEnd
IncludeTrailingString
Iteration
Value
Amaster's String Library

The Split String Loop node takes in a string list that is separated by a separator, and splits them up, one value at a time per iteration. This node also has the option to include any trailing string value from the last known separator in the list.

Inputs

* (Call)

Calls to start the loop.

String (String)

The string list to iterate through.

Separator (String)

The separator to split the string.

IncludeTrailingString (bool)

If true, the last string value will be included as the last iteration past the final separator.

Outputs

LoopStart (Continuation)

Fires when the loop starts.

LoopInteration (Continuation)

Fires when the loop iterates.

LoopEnd (Continuation)

Fires when the loop ends.

Iteration (int)

The iteration number.

Value (String)

The string value in this current iteration.