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