Description
SPACE returns a string of blank spaces count spaces long. If count is a numeric string, a decimal number, or a mixed numeric string, InterSystems IRIS resolves it to its integer portion. If count is a negative number or a nonnumeric string, InterSystems IRIS resolves it to 0.
To remove blank spaces from a string, use LTRIM (leading blanks) or RTRIM (trailing blanks).