TRIM |
DEVELOPER |
|
|
Purpose |
TRIM removes specified characters from a string. |
Syntax |
variable = TRIM (operand1,{operand2,operand3}) |
Operation |
operand1 is any valid alphanumeric string |
Remarks |
If operand 2 and 3 are not present TRIM will remove all leading and trailing spaces from operand 1. If operands 2 and 3 are present the TRIM process will be applied to each character specified in operand 2 independently. The value of operand 3 will cause the following process to be applied to operand 1: |
Example |
TRIM (" ,,, Hello ,,, "," ,",2D" ...will return... " , Hello , " |
Topic ID: 520130