mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 17:09:06 +01:00
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
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