Trim function

Official Content
This documentation is valid for:

To return the specified character expression with all leading and trailing blanks removed.

Syntax

Trim(character-expression)

Type returned:
Character

Where:
char-expression
    Is the character expression from which you want to trim all leading and trailing blanks.

Example

&Var = Trim('   My character expression   ') 
// Result of &Var: “My character expression”

Scope

Objects        Procedure object, Transaction object, Web Panel object

See also

Trim Method
TrimEnd Method
TrimStart Method
RTrim Function
LTrim function