W3cubDocs

/Nushell

split for strings

Split contents across desired subcommand (like row, column) via the separator.

Signature

> split {flags}

Input/output types:

input output
nothing string

Notes

You must use one of the following subcommands. Using this command as-is will only produce this help message.

Subcommands:

name type usage
split chars Builtin Split a string into a list of characters.
split column Builtin Split a string into multiple columns using a separator.
split list Builtin Split a list into multiple lists using a separator.
split row Builtin Split a string into multiple rows using a separator.
split words Builtin Split a string's words into separate rows.

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