RTRIM

Action

Strips trailing spaces from an input string and returns the result.

 

Syntax

RTRIM ("string")

 

Parameter

String

The string from which to strip trailing spaces.

Returns

The input string without trailing spaces.

 

Example

$x = RTRIM(SUBSTR(@IPADDRESS0, 1, 3));   192