str.title() fails with words containing apostrophes

D'Arcy Cain darcy at VybeNetworks.com
Mon Mar 6 10:18:29 EST 2017


On 2017-03-06 05:04 AM, Peter Otten wrote:
>> Won't Steve D'aprano And D'arcy Cain Be Happy Now :)
>
> Perhaps one could limit the conversion to go from lower to upper only, as
> names tend be in the desired case in the original text.

That would help with acronyms as well.

-- 
D'Arcy J.M. Cain
Vybe Networks Inc.
http://www.VybeNetworks.com/
IM:darcy at Vex.Net VoIP: sip:darcy at VybeNetworks.com



More information about the Python-list mailing list