×
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.
 
fwiw, either of these two RPG solutions worked:
     D wString40       s             40
     D                 ds
     D w40                           40
     D wArr40                         1    dim(40) overlay(w40)
     D wLen            s              5s 0
 ....
         // # 2
          wString40 = '12  56   0123 5 7  9 8blanks';
          dow %len(%trim(wString40)) <> wLen;
          wLen = %len(%trim(wString40));
          wString40 = %replace('': wString40: (%scan(' ': wString40)): 1);
          enddo;
          dsply wString40;
          //  # 3
          clear wString40;
          w40 = '12  56   0123 5 7  9        8blanks';
          for wLen = 1 to %elem(wArr40);
            if wArr40(wLen) <> *blanks;
               wString40 = %trim(wString40) + wArr40(wLen);
            endif;
          endfor;
          dsply wString40;
Result:
   DSPLY  125601235798blanks
   DSPLY  125601235798blanks
On 10/3/2013 8:47 AM, Kari Zeglin wrote:
I am a girl ;) Chuck is correct in what I was asking.  Sorry if I had confused anyone :)
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.