1
0
mirror of https://github.com/nushell/nushell.git synced 2025-03-22 03:27:30 +01:00
nushell/docs/commands/split-row.md

34 lines
573 B
Markdown

# split-row
Split row 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 ", "
━━━┯━━━━━━━━━
# │ <value>
───┼─────────
04
10
22
30
47
58
━━━┷━━━━━━━━━
```