Ends with?
Strings
Pure
Ends with?
Text
Result
Suffix
Description
Pure function returning true if text ends with suffix.
When to use
Use Ends with? when the condition depends on the tail of a string — for example, checking a file name ends with “.csv” or a reference code ends with a required suffix. The check is case-sensitive; apply Lowercase first if you need a case-insensitive match.
Pins
Input pins
| Pin | Type | Default | Notes |
|---|---|---|---|
| Text | string | — | The string to test. The check is case-sensitive. |
| Suffix | string | — | The literal suffix to look for at the end. An empty suffix always matches. |
Output pins
| Pin | Type | Notes |
|---|---|---|
| Result | boolean | True if the last characters of text match suffix exactly; false otherwise. |
Example
Route processing based on whether a filename ends with “.csv”. Wire the filename into
the Text input of Ends with? with Suffix set to ".csv", then connect the Result
output to the Condition input of Branch. The True execution output proceeds to CSV
parsing; the False output routes to Fail with a descriptive message.