case-extensions icon indicating copy to clipboard operation
case-extensions copied to clipboard

FEATURE: Support SNAKE_CAPS and KEBAB-CAPS

Open viceroypenguin opened this issue 5 years ago • 2 comments

This is a great utility that I've been using, but I occasionally run into ALL_CAPS text that I'd like to change case to another format as well. Technically, I can get it working by calling .ToLower() on the text first, but it would be nice to have true bi-directional support for this.

viceroypenguin avatar Apr 28 '21 14:04 viceroypenguin

The same happened to me just now:

"CONFIRMED".ToPascalCase() == "CONFIRMED" // Not desired
"CONFIRMED".ToLowerInvariant().ToPascalCase() == "Confirmed" // What I think should be the output

Thanks!

gabrielmaldi avatar Feb 10 '22 17:02 gabrielmaldi

Also "HELLO".ToKebabCase() == "h-e-l-l-o"

miltonhowe avatar Jun 02 '22 13:06 miltonhowe