Control:SwitchCase

Last updated 5 August 2026

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

Input 1: Switch [String, Int]

Input 2: Cases [String]

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.*

Output 1: Unmatched [String]

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.