× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.