str reverse
for strings> str reverse {flags} ...rest
...rest
: For a data structure input, reverse strings at the given cell pathsinput | output |
---|---|
list<string> | list<string> |
record | record |
string | string |
table | table |
Reverse a single string
>'Nushell'|str reverse
llehsuN
Reverse multiple strings in a list
> ['Nushell''is''cool'] |str reverse
╭───┬─────────╮
│0│llehsuN│
│1│si│
│2│looc│
╰───┴─────────╯
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/str_reverse.html