Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 397 Bytes

trimleft.md

File metadata and controls

24 lines (14 loc) · 397 Bytes

string trimleft CUTSET [STRING]

This command will with trim all the characters in CUTSET from left side of STRING.

Typical command line

    string trimleft "-" "--people--"

Would return people--

Piping content

NOTE: To read content from standard input we use the -i - option.

    echo "--people--" | string -i - trimleft "-"

Would return people--