Skip to main content

String Check

The String Check compares two string values using a comparison operation you choose. It supports several operations including exact equality, substring matching, prefix and suffix checks, and regular expression matching. This is a versatile node for filtering and branching based on text content.

If the comparison evaluates to true, the data flows down the True path. Otherwise, it goes down the False path.

Inputs

NameTypeDescription
AstringThe first string (the value being tested).
BstringThe second string (the value to compare against).

Outputs

NameTypeDescription
TruestringThe value of A, if the comparison is true.
FalsestringThe value of A, if the comparison is false.

Configuration

  • Operation: The comparison to perform. Options:
    • Equals - True if A is exactly equal to B.
    • Contains - True if A contains B as a substring.
    • Starts With - True if A starts with B.
    • Ends With - True if A ends with B.
    • Regex - True if A matches the regular expression pattern in B.

Example

Use the String Check after a Category Change trigger to detect when you switch to a specific game. Set the operation to "Equals" and B to "Just Chatting." When the category matches, the True path fires and you can enable your chatting-specific overlays. When it does not match, the False path lets you set up game-specific overlays instead.