# STRIP\_SUFFIX

Remove the given suffix from the end of the string.

## Syntax

```
STRIP_SUFFIX(input, suffix)
```

## Arguments

| Name | Type | Description | Default Value |
| --- | --- | --- | --- |
| input | string |  |  |
| suffix | string |  |  |

## Returns

Returns a `string` value.

***

## Examples

| input | suffix | Output |
| --- | --- | --- |
| "((foo))" | ")" | `((foo)` |
| "foo" | ")" | `foo` |