Split
Overview
The Split Node separates a String into two or more Strings. It receives as inputs the String to separate and a delimiter String, which marks where the separations will be made. Thus, if the String to split is abcdecba
and the delimiter is c
, the resulting Strings will be ab
, de
, and ba
.
The resulting Strings are outputted in an Array.
In the case that the delimiter is not contained in the String to separate, the output is an Array containing just the original String.
Scope: Project, Scene, Function, Prefab.
Attributes
Inputs
Attribute | Type | Description |
---|---|---|
| String | String to be separated, if none is given in the Input Socket. |
| String | String that marks where to split |
Inputs
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| String | String to be separated. |
| String | String that marks where to split |
Outputs
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Array | Array containing the Strings that resulted from the split. |
See Also
Last updated