Proper casing name and address data

Hello team

Just a question… I presume most of us personalize our output… does anyone have any advice about proper casing name & address information? i.e O’Neil, MacDonald, Winter-Smith, etc obviously proper casing just cap’s the first letter of every word which doesn’t cater to this…

Are there any existing libraries that I could tap into or is this something that needs to be coded yourself?

any advice is welcome, sorry if this has been answered already but I didn’t see any posts on this

Best regards, Richard

Searching the web for camel case, you’ll find plenty of example on how to do this but, in case of surname, like MacDonald, I can’t see how this could be done since there is no word separation.

Unless you have access a huge surname database to search and compare.