inflection
inflection copied to clipboard
titleize("2ND PART") = "2nd Part", not "2 Nd Part"
Could this be included as a new feature that works for "1st", "2nd", "3rd", "4th", etc.
Workaround:
' '.join([word.capitalize() for word in humanize("2ND PART").split(' ')])