mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 02:44:01 +01:00
bff81f24aa
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
503 B
503 B
str rtrim
trims whitespace or character from the end of text
Usage
> str rtrim ...args {flags}
Parameters
- ...args: optionally trim text starting from the end by column paths
Flags
- -h, --help: Display this help message
- -c, --char : character to trim (default: whitespace)
Examples
Trim whitespace from the end of string
> echo ' Nu shell ' | str rtrim
Trim a specific character
> echo '=== Nu shell ===' | str rtrim -c '='