×
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.
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 07/30/2019
01:09:53 PM:
Real quick: what does this do?
%subst(string: 1: %min(10: %len(string)))
now, what does this do?
%subst(string: 1: 10)
I would actually prefer %left(string: 10), but that is not an option.
You prefer the first? I don't.
Actually, I prefer neither -- if, as you say, either can fail at
execution time.
I also don't see the second as sloppy.
I do -- if it can fail at execution time.
I see that as wasted effort.
I don't -- to prevent failures t execution time.
Here is a solution for you that doesn't require IBM to waste their
time and money changing something that works just fine as it is... Create
a service procedure called "fuzzy_subst()" (or something similar) and then
always use that service procedure instead of using %subst() directly.
Sincerely,
Dave Clark
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.