|
I'd try FileKey = %EditC(NumFld:'4') --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: Wednesday, May 21, 2003 4:19:13 PM To: Midrange - RPG (E-mail) Subject: Right aligning text Hey guys I have a question. I am trying to trim out some leading zeros in a text field. The data looks like this '000000304'. I want it to look like this ' 304' so I can then do a chain on the file. What is the best or easiest way to do this? Mike Wills iSeries Programmer Taylor Development P: (507) 386-3187 F: (507) 625-3002 E-mail: mnwills@xxxxxxxxxxxxxx
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.