Pad Right

Overview

Pads out a string, on the right 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 => 12345000000