TRIM

Action

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

 

Syntax

TRIM ("string")

 

Parameter

String

The string from which to strip spaces.

Returns

The input string without leading and trailing spaces.

 

Example

$x = TRIM(SUBSTR(@IPADDRESS0, 1, 3))