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



If it's always at the end, the %trimr(itemNumber : x'09') should work.
--
James R. Perkins
http://twitter.com/the_jamezp


On Mon, Aug 24, 2009 at 12:28, <Peter_Vidal@xxxxxxxx> wrote:

Hi list!

I want to get rid of a special character from a data feed (.TXT) I am
processing. The field is the item number and is only 2 records (from over
300,000). The issue is that there is a "special character" at the end of
these two item numbers and I was told that they were created using a third
party software and that they were created with "tabs" at the end. The
source field has 30 characters long and the target field has 15. Both
"affected" values have less than 15 characters long.

How I can "purify" these items so I can trim off those characters?

TIA,
PETER VIDAL
MAPICS IT TECHNICAL SUPPORT TEAM / SR SYSTEM ANALYST
10540 Ridge Rd., Suite 203, New Port Richey, FL 34654-5111
( 727-815-3104 | 7 727-815-3120 | WWW.PALL.COM

"Encouragement is the oxygen of the soul".John Maxwell


--------------------------------------------------------------------------------

Attention:

This communication may contain information that is confidential,
privileged and/or exempt from disclosure under applicable law.
If you are not the intended recipient, please notify the sender
immediately and delete the original, all attachments, and all
copies of this communication.



--------------------------------------------------------------------------------
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



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.