nushell/docs/commands/split-row.md
Fernando Herrera dbcadbc12c moved folders
2022-02-07 19:23:12 +00:00

34 lines
500 B
Markdown

# split row
splits contents over multiple rows via the separator.
Syntax: `split row <separator>`
## Parameters
* `<separator>` the character that denotes what separates rows
## Examples
We can build a table from a file that looks like this
```shell
> open table.txt
4, 0, 2, 0, 7, 8
```
using the `split row` command.
```shell
open table.txt | split row ", "
───┬───
# │
───┼───
04
10
22
30
47
58
───┴───
```