Skip to main content

Text: Contains

Test whether a string contains a given substring. The needle can be supplied either statically via the Substring parameter or dynamically via the substring input. The connector wins when both are set.

Example
Substring: "world"
Input: "hello world" → Output: true
Input: "hello there" → Output: false

Parameters

Substring

Static needle to fall back to when the substring input connector is unwired. Unset and unwired input fails the step.

Input

StringREQUIRED
Text to search.
Substring

Optional needle — overrides the Substring parameter when wired.

Output

Result

true if the substring occurs in the input, false otherwise.