# Swap Case

Returns a case swapped version of the string.

```yaml
string: IpHONE
```

::tabs

::tab antlers
```antlers
{{ string | swap_case }}
```
::tab blade
```blade
{{ Statamic::modify($string)->swapCase() }}
```
::

```html
iPhone
```
