×
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.
I tried that but SRC-STRING has some blanks in it that get truncated.
Maybe I should do DELIMITED BY ' ' (2 blank characters)?
Rich
________________________________
On 12/22/2022 1:36 PM, Mark Waterbury wrote:
Try: STRING SRC-STRING DELIMITED BY ' ' INTO TGT-STRING
END-STRING
On Thursday, December 22, 2022 at 01:25:52 PM EST, Rich Loeber <rich@xxxxxxxxx><mailto:rich@xxxxxxxxx> wrote:
I use the STRING command quite often and I've run into an issue. I normally do STRING delimited by SIZE which uses the defined field length when gluing fields together. What I'd really like to do in one application is have it delimited by the size of the field contents. For example, I have a 200 character field but it often only has the first 6 characters for content. I would like to the STRING command to only copy those 6 characters and not the other 194 blanks.
Any suggestions?
Rich Loeber
Kisco Systems LLC
https://www.kisco.com
________________________________
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.