forked from extern/nushell
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
29 lines
430 B
Markdown
29 lines
430 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 '-'
|
|
```
|
|
|