Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

titleize("2ND PART") = "2nd Part", not "2 Nd Part" #61

Open
rvishna opened this issue Feb 28, 2021 · 1 comment
Open

titleize("2ND PART") = "2nd Part", not "2 Nd Part" #61

rvishna opened this issue Feb 28, 2021 · 1 comment

Comments

@rvishna
Copy link

rvishna commented Feb 28, 2021

Could this be included as a new feature that works for "1st", "2nd", "3rd", "4th", etc.

@rvishna
Copy link
Author

rvishna commented Feb 28, 2021

Workaround:

' '.join([word.capitalize() for word in humanize("2ND PART").split(' ')])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant