Skip to main content

Text: Ends With

Test whether a string ends with a given suffix. The suffix can be supplied either statically via the Suffix parameter or dynamically via the suffix input. The connector wins when both are set.

Example
Suffix: ".pdf"
Input: "report.pdf" → Output: true
Input: "report.csv" → Output: false

Parameters

Suffix

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

Input

StringREQUIRED
Text to test.
Suffix

Optional suffix — overrides the Suffix parameter when wired.

Output

Result

true if the input ends with the suffix, false otherwise.