This command will with return a version of string padding the left side with the characters provided up to the a maximumn length of the new string.
string padleft "-" 10 "people"
Would return ------people
NOTE: To read content from standard input we use the -i -
option.
echo "people" | string -i - padleft "-" 10
Would return ------people