Control:SwitchCase
Control:SwitchCase is the easiest way to search
string inputs for keywords or phrases.
It searches the String input for any "case" string
and creates a bang on the corresponding output.
| Pin | Info |
|---|---|
|
|
1-Switch[String]: If the string matches any case, a bang will be emittedon the corresponding output. If not, it will be forwarded to the Unmatched output. 1-Switch[Int]: If the integer matches any case, a bang will be emittedon the corresponding output. If not, it will be forwarded to the Unmatched output. 2-Cases[String]: Stores the Input as new Case list in the Node buffer.* |
|
|
1-Unmatched[String]: Emits any switch input** thatdid not match a single case.2+-CASE NAME[Bang]: If an Input strings matches the case it will emit a bang on this output. |
| Node Parameters | |
|
Case: Defines case list, each detected entry creates a new output that will be compared to the input string and a bang will be emitted on a match. Expand: Separator: Defines what character should separate the cases in the case string. |
|
