Pads a string with a specified character or string on the right until it reaches the desired length.
padright(string, pad, length);
Pad “abc” with spaces to a length of 10
padright("abc", " ", 10); // returns "abc "
Pad “123” with “0” to a length of 6
padright("123", "0", 6); // returns "123000"
Pad “test” with “-” to a length of 8
padright("test", "-", 8); // returns "test----"