TRIM
Strips the leading and trailing spaces from a string.
Syntax
TRIM string
Input
string
- An attribute of base type string, an expression that results in a string or a constant string value.
Return type
string
Example
Expression
Result
Type
TRIM "Hello"
"Hello"
String
TRIM ( "Hello World" )
"Hello World"
String
TRIM "
Hello World "
"Hello World"
String
TRIM ( ? )
?
String