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



"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 11/18/2019
09:51:42 AM:
when we debug it shows value of v1 as 'RISHIBBBB'

So neither trim nor trimr even substring also does not seem to work as
it
shows substring value as 'RISHIBBBBB'


Note that if you look at the storage for the variable-length
variable there might be blanks (or other remnants) on the end -- but that
is just the storage. The length of a variable-length variable is in the 2
(or 4) bytes preceding the data area. That length will be 5. Then,
whenever you use that variable-length variable RPG will only look at the
characters specified by that length prefix. The remainder will be
ignored.


Sincerely,

Dave Clark

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.