rpad

Returns "string_exp1" right-padded to length "integer_exp" with occurrences of "string_exp2". If "string_exp1" is longer than "integer_exp", the appropriate portion of "string_exp1" is returned. If "string_exp2" is not specified, then spaces are used.

Syntax

rpad ( string_exp1, integer_exp [ , string_exp2 ] )