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

Title Casing when string all UpperCase #1050

Closed
Veretax opened this issue Apr 12, 2021 · 0 comments · Fixed by #1078
Closed

Title Casing when string all UpperCase #1050

Veretax opened this issue Apr 12, 2021 · 0 comments · Fixed by #1078

Comments

@Veretax
Copy link

Veretax commented Apr 12, 2021

If you have a string like "MY VERY BIG STRING"

And you apply "MY VERY BIG STRING".Humanize(LetterCasing.Title); You might expect to get: "My Very Big String", but you will end up with the same string, since Title does not touch the other characters. A work around is to lowercase first then Title case.

clairernovotny added a commit that referenced this issue Jun 7, 2021
Fixed title casing for multiple upper case strings #1050
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

Successfully merging a pull request may close this issue.

1 participant