# ENDSWITH

ENDSWITH(`string`, `substring`)

Determines whether the given `string` ends with the specified `substring`

### Arguments

| Argument    | Description                                       |
| ----------- | ------------------------------------------------- |
| `string`    | String(s) to search for `substring` within        |
| `substring` | Substring(s) to search for at the end of `string` |

### Output

Returns True if the string ends with the specified `substring`, returns False otherwise

### Example

{% embed url="<https://datawrapper.dwcdn.net/UtC0L/1>" %}
