ENDS WITH STRINGS

Checks whether a given string (haystack) ends with a specified substring (needle) and returns a boolean-like scalar result. Use this worker in workflow branching or data-validation steps where suffix matching on strings is required.

When to use

Classification: process.

Tagged: comparison, ends_with, match, scalar, string, suffix, text.

Inputs

Label ID Type Default Required Description
Haystack haystack scalar The source string to inspect; provide the full text value whose trailing characters will be tested against the needle.
Needle needle scalar The substring to look for at the end of the haystack; the match is exact and case-sensitive, so supply the precise suffix string expected.

Outputs

Label ID Type Description
string_ends_with_output_1 string_ends_with_output_1 scalar Boolean-like scalar (true/false or 1/0) indicating whether the haystack string ends with the specified needle substring.

Disciplines

  • data.dataset.transform
  • platform.workflow

Runnable example

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


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