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



Indeed. You can outsmart yourself doing that. Sometimes, just because you can doesn't mean you should.

________________________________________
From: Roger Harman [roger.harman@xxxxxxxxxxx]
Sent: Friday, January 18, 2019 6:41 PM
To: Midrange Systems Technical Discussion
Subject: Re: [EXTERNAL] Need help to convert a name in upper case, to mixed case

I had that same one-liner cross-eyed experience in a Fortran class oh so many years ago. Calculating a check digit on a credit card.

Don't remember how long my solution was but the instructor did it in one line.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power







From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
Sent: Friday, January 18, 2019 3:15 PM
To: Midrange Systems Technical Discussion
Subject: RE: [EXTERNAL] Need help to convert a name in upper case, to mixed case

I posted a working RPG/Python sample earlier that uses the UNIXCMD library. I'm no Pythonista, so my code reads like Dick-and-Jane. John Y. followed up with a one-liner to do the same thing, but it'll likely make a neophyte go cross-eyed.




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.