ILE RPG procedures Proper-, Pascal- and CamelCase

These procedure converts a string to Proper-, Pascal- and CamelCase.

The routines will handle exception for certain words like ‘ApS’ (Danish company type), ‘A/S’ (Danish company type, ‘LTD’ (UK/US company type), ‘GmbH’ (German company type) and others. You can extend with type you need. Further, words starting with ‘Mc’ or ‘Mac’ will also be converted correctly.

Continue reading