seq char
for generators> seq char {flags} (start) (end)
start
: start of character sequence (inclusive)end
: end of character sequence (inclusive)input | output |
---|---|
nothing | list<string> |
sequence a to e
>seq charae
╭───┬───╮
│0│a│
│1│b│
│2│c│
│3│d│
│4│e│
╰───┴───╯
sequence a to e, and put the characters in a pipe-separated string
>seq charae|str join'|'
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/seq_char.html