Skip to content

StringPadLeft

Pads a string on the left to a specified length.

$ wo 'StringPadLeft["hi", 5]'
   hi
$ wo 'StringPadLeft["hi", 5, "0"]'
000hi
$ wo 'StringPadLeft["hello", 3]'
llo