# StartsWith

## Overview

![The StartsWith Node.](https://640518663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEu3ZQiMi2jYaDHPO7K5c%2Fuploads%2Fgit-blob-1b6836e25dccf69710b9764e6e19d80414d8c8c6%2Fstartswith.png?alt=media)

The **StartsWith Node** checks if a **String** starts 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 start 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 start 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. |
| `StartsWith`       | **Bool**  | Returns *True* or *False* depending on whether the comparison is true or not.                                                          |

## See Also

* [**EndsWith**](https://docs.incari.com/incari-studio/2021.5/toolbox/string/endswith)
