mirror of
https://github.com/nushell/nushell.git
synced 2025-08-13 20:17:14 +02:00
@ -14,3 +14,15 @@ splits contents over multiple rows via the separator.
|
||||
|
||||
- `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 '--'
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user