|
The few times I have had to do this process the business problem was that it was a one-time conversion. Therefore there was a trade off between programming time and benefit. In each instance the most cost effective method was to do the rough conversion and then throw this "best guess" onto a screen and have humans make what ever corrections seemed obvious. A good operator can do a whole lot of records really fast, especially if there are not a lot of McDonalds. They don't get paid anywhere near what a programmer does, so there's a trade off. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: Friday, August 15, 2003 11:30:00 AM To: 'RPG programming on the AS400 / iSeries' Subject: RE: Convert upper case to lower case Rob, The names like McDonald are a problem. We decided to not worry about them at the time the procedure was written. It would take WAY to much coding to handle those special cases. But for some reason I sort of remember researching proper casing' utilities and coming up with some suggestions. -- Scott Johnson > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx > [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of rob@xxxxxxxxx > Sent: Friday, August 15, 2003 10:31 AM > To: RPG programming on the AS400 / iSeries > Subject: RE: Convert upper case to lower case > > > Mine addressed the first letter of the string itself, if you > followed my > admonishment to substring it. However you bring up a good > point, if they > want to capitalize the first letter of every word. The > former would work > for a single sentence. The latter may be required for a name field > containing both first and last. Then there's always the > exception to the > rule. Names like deVries, McDonald, etc. > > Rob Berendt > -- > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety." > Benjamin Franklin
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.