Skip to content

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

@manuelottlik

Description

@manuelottlik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions