mirror of
https://github.com/nushell/nushell
synced 2025-01-12 13:19:01 +00:00
424 B
424 B
str trim
trims text
Usage
> str trim ...args {flags}
Parameters
- ...args: optionally trim text by column paths
Flags
- -h, --help: Display this help message
- -c, --char : character to trim (default: whitespace)
Examples
Trim whitespace
> echo 'Nu shell ' | str trim
Trim a specific character
> echo '=== Nu shell ===' | str trim -c '=' | str trim