dfr str-slice
for dataframe> dfr str-slice {flags} (start)
--length, -l {int}
: optional lengthstart
: start of sliceinput | output |
---|---|
any | any |
Creates slices from the strings
> [abcdedabc321abc123] |dfr into-df|dfr str-slice1-l2
╭───┬────╮
│# │ 0 │
├───┼────┤
│0│bc│
│1│bc│
│2│bc│
╰───┴────╯
Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/dfr_str-slice.html