Skip to main content

Text Starts With

Uncontrolled node

Overview

The Text Starts With node checks whether a given text string begins with a specified pattern and outputs a boolean result. This is useful for conditional logic, filtering, or validation workflows where you need to verify string prefixes.

Inputs

InputTypeDescriptionDefault
TextTextThe source text string to check.-
PatternTextThe prefix pattern to look for at the beginning of the text.-

Outputs

OutputTypeDescription
StartsBooleanReturns true if the text starts with the pattern, otherwise false.

Runtime Behavior and Defaults

This node runs automatically whenever its inputs change (uncontrolled behavior).

  • Type Safety: If either the Text or Pattern inputs are not strings, the node outputs false.
  • Case Sensitivity: The check is case-sensitive. For example, "Hello" does not match "hello".
  • Empty Strings: An empty pattern ("") will return true for any text input, as all strings technically start with an empty string.

Example

Basic Usage

Connect a text source to the Text input and specify a pattern to check:

  1. Create a Text node with the value: Hello World
  2. Connect it to the Text input of the Text Starts With node
  3. Set the Pattern input to: Hello
  4. The Starts output will return: true

Conditional Workflow

Use the output to drive conditional logic:

[Text Node: "Invoice_12345"] 
|
v
[Text Starts With: Pattern="Invoice_"]
|
v
[If Node: Test=Starts output]
| |
true false
| |
[Process] [Skip]

In this example, the workflow branches based on whether a filename starts with "Invoice_".