%ATRIMTOSTRING

Return a string stripped of trailing blanks

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
string = %ATRIMTOSTRING(expression)

Return value

string

A string stripped of its trailing blanks. If expression is null or only contains blanks, the return value is a 0-length string. (a)

Arguments

expression

The alpha expression whose blanks will be stripped. (a)

Discussion

On Windows, this function is a high-performance replacement of %ATRIM.