STRING EXCLUDES

Checks whether a string (haystack) does NOT contain a given substring (needle), returning a boolean-like scalar result. Use this worker in workflow branching or validation steps where a condition must confirm the absence of a specific pattern or token in a string.

When to use

Classification: process.

Tagged: contains, excludes, filter, process, scalar, search, string, substring.

Inputs

Label ID Type Default Required Description
Haystack haystack scalar The source string to search within; provide any plain-text scalar value that will be tested for the absence of the needle substring.
Needle needle scalar The substring to look for in the haystack; if this string is NOT found in the haystack, the worker returns a truthy result.

Outputs

Label ID Type Description
string_excludes_output_1 string_excludes_output_1 scalar Boolean-like scalar (true/false or 1/0) indicating whether the haystack does NOT contain the needle; true means the needle is absent.

Disciplines

  • data.dataset.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=string_excludes


Auto-generated from transformation schema. Worker id: string_excludes. Schema hash: e16b899b310d. Hand-curated docs in workerexamples/ override this page when present.