Note: Since TRIM, TRIML and TRIMR intrinsic functions are available, this routine is deprecated.
If var is defined as pic x any length, the trim removes leading and trailing spaces and the variable is resized. If var is defined as pic x(n), the trim only removes leading spaces, the result is the same of a left justification of the variable made by calling C$JUSTIFY. Variables that are not alphanumeric produce undefined effects.Example - Remove leading spaces on a string
| Copyright (c) 2017 Veryant |
| Contact us |
|
Please share your comments on this manual or on any Veryant product documentation with the email button at the top left |