Pad Left

Overview

Pads out a string, to the left hand side, to the desired length using the selected character.

Padding is truncated if the resulting string is longer than the desired pad length.

Examples

Using a padding character of - and a pad length of 8
Susan => ---Susan
Banking Corp => Banking Corp

Using a padding character of 0 and a pad length of 11
12345 => 00000012345