> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/2021.5/toolbox/string/endswith.md).

# EndsWith

## Overview

![The EndsWith Node.](/files/KytU0JgNpKtVLNFc4So7)

**The EndsWith Node** checks if a **String** ends with a substring, or `Pattern`, and returns a **Bool** of either *True* or *False*.

## Attributes

| Attribute | Type       | Description                                                                      |
| --------- | ---------- | -------------------------------------------------------------------------------- |
| `String`  | **String** | The **String** to be checked.                                                    |
| `Pattern` | **String** | The substring that will be compared to the end of the aforementioned **String**. |

## Inputs

| Input             | Type       | Description                                                                      |
| ----------------- | ---------- | -------------------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**  | A standard **Input Pulse**, to trigger the execution of the **Node**.            |
| `String`          | **String** | The **String** to be checked.                                                    |
| `Pattern`         | **String** | The substring that will be compared to the end of the aforementioned **String**. |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `EndsWith`         | **Bool**  | Returns *True* or *False* depending on whether the comparison is true or not.                                                          |

## See Also

* [**StartsWith**](/incari-studio/2021.5/toolbox/string/startswith.md)
