Show TOC

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

Use

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.

x, n

Result of the EXPAND(x,n) Function

x is a NULL value

NULL value

More Information