Advantage Concepts
Advantage Expression Engine function that returns a string of spaces
SPACE(<nCount>) à cSpaces
<nCount> The number of spaces to be returned, up to a maximum of 65,535 (64K).
SPACE() returns a character string. If <nCount> is zero, SPACE() returns a null string ("").
SPACE() is a character function that returns a specified number of spaces. SPACE() can pad strings with leading or trailing spaces. However, the PADC(), PADL(), and PADR() functions are more effective for this purpose.
Note Advantage Expression Engine functions can be used in expressions such as record filter expressions and index expressions. They are not necessarily scalars supported within SQL statements. For a list of supported SQL scalar functions, see Supported Scalar Functions.