![]() ![]() |
|
TRIMThe TRIM statement allows characters to be removed from a string in a number of ways.
COMMAND SYNTAXTRIM(expression1 {, expression2{, expression3}})
SYNTAX ELEMENTSexpression1 specifies the string from which to trim characters. expression2 may optionally specify the character to remove from the string. If not specified then the space character is assumed. expression3 evaluates to a single character specifies the type of trim to perform.
NOTESThe trim types available for expression3 are:
EXAMPLE
|