Spec-Zone.ru › Nushell

str join for strings

Concatenate multiple strings into a single string, with an optional separator between each.

Signature

> str join {flags} (separator)

Parameters

  • separator: Optional separator to use when creating string.

Input/output types:

input output
list<any> string
string string

Examples

Create a string from input.

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

Create a string from input with a separator.

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

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/str_join.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API