RPAD(x, length, lpad_string)

This function right-pads a string with another string, to a certain length.

Example:

Right-pad the string with "ABC", to a total length of 10: 

RPAD("Pranalytix Tutorial", 10, "ABC") Gives “ABCABCABCA Tutorial”