StringCase icon indicating copy to clipboard operation
StringCase copied to clipboard

Add kebab case

Open ValentinWalter opened this issue 5 years ago • 2 comments

This is a first implementation of kebab case. I've only modified StringCase.swift at this time. Tests and changes to the Readme are missing.

ValentinWalter avatar Apr 14 '20 13:04 ValentinWalter

Great work @ValentinWalter

Cosmo avatar Jun 17 '20 17:06 Cosmo

While writing tests for kebab-case I also added some new scenarios for all-uppercase strings such as "SNAKE".snakeCased() == "snake". Which fails because snakeCased() returns "s_n_a_k_e". What do you think?

ValentinWalter avatar May 30 '21 10:05 ValentinWalter