String switch
Switches between string inputs using an index.
Inputs
-
index
- The index of the string value to output. This can only be
0
,1
,2
, or3
.
- The index of the string value to output. This can only be
-
value 0
- The string value of index
0
.
- The string value of index
-
value 1
- The string value of index
1
.
- The string value of index
-
value 2
- The string value of index
2
.
- The string value of index
-
value 3
- The string value of index
3
.
- The string value of index
Outputs
-
result
- The string value of the selected index.
-
result list
- The list of string values of the selected index.
Note(s)
-
Unlike the Switch node, upstream nodes of all input connections are computed.
-
Other names for this node include: StringSwitch, Case, and If.