mirror of
https://github.com/nushell/nushell
synced 2025-01-02 16:29:00 +00:00
4f367a59de
* Strip trailing whitespace in rs files * Strip trailing whitespace in toml files * Strip trailing whitespace in md files * Strip trailing whitespace in nu files
609 B
609 B
title | layout | version |
---|---|---|
split-by | command | 0.59.0 |
Create a new table splitted.
Signature
> split-by (splitter)
Parameters
splitter
: the splitter value to use
Examples
split items by column named "lang"
>
{
'2019': [
{ name: 'andres', lang: 'rb', year: '2019' },
{ name: 'jt', lang: 'rs', year: '2019' }
],
'2021': [
{ name: 'storm', lang: 'rs', 'year': '2021' }
]
} | split-by lang