Returns a string with trailing blanks deleted.
&TBLSTR string
&TBLSTR is a built-in function and must be used to the right of an assignment statement.
It is possible for user variables to contain trailing blanks. These blanks can have been added by the use of other built-in functions such as &SUBSTR and &SETLENG.
&TBLSTR will remove any trailing blanks from the data and returns this value.
If the data consists entirely of blanks then a null value is returned.
Operands:
Data or a variable containing data from which the trailing blanks are to be removed.
Examples: &TBLSTR
&1 = &TBLSTR &INPUT &A = &TBLSTR &A
Notes:
To remove both leading and trailing blanks the &NBLSTR function is used. To remove only leading blanks the &LBLSTR function is used.
| Copyright © 2009 CA. All rights reserved. |
|