Given a string that is in capitals, how could i convert the string so that only the first letter of every word was a capital and the rest was lower case.
There is an added complication that a have a list of certain words which would need to be made all lower case: on, upon, in
Also any words that contain a number must remain in capitals. This last one might seem odd but the input string in question is an address. Sometimes the county where someone lives is not available and is given as an abbreviated postcode.