str collect for deprecated

Deprecated command.

Signature

> str collect (separator)

Parameters

  • separator: optional separator to use when creating string

Examples

Create a string from input

> ['nu', 'shell'] | str collect
nushell

Create a string from input with a separator

> ['nu', 'shell'] | str collect '-'
nu-shell