mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 00:50:03 +01:00
12 lines
171 B
Markdown
12 lines
171 B
Markdown
|
# trim
|
||
|
|
||
|
Trim leading and following whitespace from text data
|
||
|
|
||
|
## Example
|
||
|
|
||
|
```shell
|
||
|
> echo " Hello world"
|
||
|
Hello world
|
||
|
> echo " Hello world" | trim
|
||
|
Hello world
|
||
|
```
|