mirror of
https://github.com/nushell/nushell.git
synced 2024-12-02 13:24:30 +01:00
24 lines
385 B
Markdown
24 lines
385 B
Markdown
---
|
|
title: dfr str-slice
|
|
layout: command
|
|
version: 0.59.1
|
|
---
|
|
|
|
Slices the string from the start position until the selected length
|
|
|
|
## Signature
|
|
|
|
```> dfr str-slice (start) --length```
|
|
|
|
## Parameters
|
|
|
|
- `start`: start of slice
|
|
- `--length {int}`: optional length
|
|
|
|
## Examples
|
|
|
|
Creates slices from the strings
|
|
```shell
|
|
> [abcded abc321 abc123] | dfr to-df | dfr str-slice 1 -l 2
|
|
```
|