Function documentationEXPAND(x,n) Locate this document in the navigation structure

 

EXPAND(x,n) is a string function that adds as many blank characters (code attribute ASCII, UNICODE) or binary zeros (code attribute BYTE) to the end of the character string x (string specification) as are needed to give the string the length specified by n (an unsigned integer). Only expressions that produce an alphanumeric value are permitted as string specifications.

EXPAND(x,n)

x, n

Result of the EXPAND(x,n) Function

x is a NULL value

NULL value

More Information

LFILL(x,n,a)

RFILL(x,a,n)