mirror of
https://github.com/danbulant/nushell
synced 2026-05-20 21:08:34 +00:00
429 B
429 B
| title | layout | version |
|---|---|---|
| str collect | command | 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
> ['nu', 'shell'] | str collect
Create a string from input with a separator
> ['nu', 'shell'] | str collect '-'