nushell/docs/commands/str_collect.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

28 lines
429 B
Markdown

---
title: str collect
layout: command
version: 0.59.0
---
creates a string from the input, optionally using a separator
## Signature
```> str collect (separator)```
## Parameters
- `separator`: optional separator to use when creating string
## Examples
Create a string from input
```shell
> ['nu', 'shell'] | str collect
```
Create a string from input with a separator
```shell
> ['nu', 'shell'] | str collect '-'
```