nushell/docs/commands/str-ltrim.md
JT bff81f24aa
Autogenerate missing docs (#3514)
* Autogenerate missing docs

* Update ansi.md

* Rename question mark command docs

* Delete empty?.md
2021-05-30 12:57:04 +12:00

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 '='