mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
27 lines
425 B
Markdown
27 lines
425 B
Markdown
---
|
|
title: split row
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
splits contents over multiple rows via the separator.
|
|
|
|
## Signature
|
|
|
|
```> split row (separator)```
|
|
|
|
## Parameters
|
|
|
|
- `separator`: the character that denotes what separates rows
|
|
|
|
## Examples
|
|
|
|
Split a string into rows of char
|
|
```shell
|
|
> echo 'abc' | split row ''
|
|
```
|
|
|
|
Split a string into rows by the specified separator
|
|
```shell
|
|
> echo 'a--b--c' | split row '--'
|
|
```
|