Returns the specified character expression with all leading and trailing blanks removed.
Trim(character-expression)
Where:
character-expression
Is the character expression from which you want to trim all leading and trailing blanks.
Type returned:
Character
Objects: Procedure, Transaction, Web Panel, Panel, Data Provider
Generators: .NET, .NET Framework, Java, Apple, Android,
Angular
&Var = Trim(' My character expression ')
// Result of &Var: “My character expression”
Trim method
TrimEnd method
TrimStart method
RTrim function
LTrim function