Skip to content
New issue

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

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

Already on GitHub? # 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.

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

Successfully merging a pull request may close this issue.

1 participant