# Option List

Turn an array into a pipe-delimited string. Useful when passing an array of things into a parameter. Generally unnecessary though as most parameters can now accept a wide range of datatypes.

```yaml
collections:
  - blog
  - news
  - wigs
```


::tabs

::tab antlers
```antlers
{{ collection from="{collections|option_list}" }}
```
::tab blade
```blade
<statamic:collection
  :from="Statamic::modify($collections)->optionList()->fetch()"
>

</statamic:collection>
```
::

Can also be used by its alias, [`piped`](/modifiers/piped.md).
