Challenge overview
Hello and welcome to the challenge!
Write a code converting the given camel case string to its kebab case version. Remember about removing all digits.
Examples
solve('someCamelCaseName') -> 'some-camel-case-name'
solve('camelCase2') -> 'camel-case'
Input
- camel case string containing letters and digits
Output
- kebab case string consisting of lowercase letters and dashes
Constraints
1 < length of the input string < 200
You can solve this programming contest in C#, C++, Java, Ruby, JavaScript, Python, PHP and many more languages. If you want, you can also take part in other Challenges. Below you can find some of them:
Have fun and good luck! :)