# Shuffle

Shuffles a string or an array to make it all random.

```yaml
string: Mr. Roboto was the original hipster.
array:
  - Sonic
  - Knuckles
  - Tails
```

::tabs

::tab antlers
```antlers
{{ string | shuffle }}
{{ array | shuffle }}
```
::tab blade
```blade
{{ Statamic::modify($string)->shuffle() }}
{{ Statamic::modify($array)->shuffle()->fetch() }}
```
::

```yaml
string: a nhglRsws.oMtiotr hprriao eeo.b ti
array:
  - Tails
  - Knuckles
  - Sonic
```
