|
I believe he's actually asking if %TRIM will eliminate the null character (X'00') as well as the space. In his example, it appears %TRIM is treating the null as a regular character and thus leaving the blank character that is between the "S" and null in the result. It's interesting that the manual states specifically that only blanks (X'40') will be eliminated with no mention of null characters. I guess that means the behavior Rob experienced should be expected? Donald R. Fisher, III Project Manager Roomstore Furniture Company (804) 784-7600 extension 2124 DFisher@xxxxxxxxxxxxx <clip> > If I have the value of variable A= x'E24000', or S blank *loval. Then it seems that the following Myvar='HI' +%trim(A) + 'X' gets > 'HIS X' > > Is this right? Yes. The %trim functions trim blanks. <clip>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.