|
Joe, I see that casual use of %TRIM all over the place and people wonder why it doesn't work. I wish more people would habitually use %TrimR() and only use %trim() when they think about think about it first. Thanks. -Bob Cozzi www.iSeriesTV.com iPod your industry news instead of reading it. Coming June 2006 Ask your friends to tune into iSeriesTV.com -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Joe Pluta Sent: Monday, June 05, 2006 8:57 AM To: 'RPG programming on the AS400 / iSeries' Subject: RE: My dilemma with VARYING was ->RE: Error in %trim BIF with V5R3? Absolutely right, Bob. I was thinking about TrimR, because Aaron was asking about trailing blanks. I should have written: %LEN(x) = %len(%TrimR(x)) Which of course works fine. Thanks for pointing that out! Joe
From: Bob Cozzi %LEN(x) = %len(%Trim(x)) is just wrong.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.