Skip to content Skip to footer navigation

Shuffle Modifier

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

string: Mr. Roboto was the original hipster.
array:
- Sonic
- Knuckles
- Tails
{{ string | shuffle }}
{{ array | shuffle }}
{{ Statamic::modify($string)->shuffle() }}
{{ Statamic::modify($array)->shuffle()->fetch() }}
string: a nhglRsws.oMtiotr hprriao eeo.b ti
array:
- Tails
- Knuckles
- Sonic