~RTRIM Command

Description:

This command is a function and can only be referenced within a SET command. It returns a character string after truncating all trailing blanks.

Format:

 ~RTRIM (string)
Return Value:

A character expression after truncating all trailing blanks.

Parameters:

string

The character value or character variable

Example:

 SET newstr =     ~RTRIM (Name)

See also:

Output Stream Handling Commands