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

Case.of(Case.pascal(string)) === "capital" #52

Open
manuelottlik opened this issue Jul 3, 2023 · 0 comments
Open

Case.of(Case.pascal(string)) === "capital" #52

manuelottlik opened this issue Jul 3, 2023 · 0 comments

Comments

@manuelottlik
Copy link

I just stumbled upon this issue:

If I have a string like "Room", Case.of() returns capital.
If I turn it into a pascal string (which it already is) and then get the case of that Case.of(Case.pascal('Room'), it still returns capital.

I think there is some kind of configuration needed on how to handle single word strings, because those are ambiguous. I could propose a PR if you like.

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