Entering content frame

RFILL(x,a,n) 

RFILL(x,a,n) is a string function that inserts the character string a at the end of the character string x as often as required until the character string has reached the length n. If the character string a cannot be completely inserted without exceeding the specified total length, only the part that is needed to reach the total length is inserted.

 

Result of the RFILL(x,a,n) function

RFILL(x,a)
x must identify a CHAR or VARCHAR column.

The column x is filled with the characters of a until its maximum length is reached.

x is NULL value

NULL value

a or n is the NULL value

Error message

 

See also:

LFILL(x,a,n)

EXPAND(x,n)

Leaving content frame