nushell/docs/commands/str_collect.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

430 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 '-'