# Ends With

Returns `true` if the value ends with a given string. This comparison is case-insensitive.

```yaml
punchline: That's what she said!
```

::tabs

::tab antlers
```antlers
{{ if (punchline | ends_with('she said!')) }}
{{ if (punchline | ends_with('your mom!')) }}
```
::tab blade
```blade
@if (Statamic::modify($punchline)->endsWith('she said!')->fetch())

@endif

@if (Statamic::modify($punchline)->endsWith('your mom!')->fetch())

@endif
```
::

```html
true
false
```
