6 kyu

Kebabize

5,465 of 13,271user4316848

Description:

Modify the kebabize function so that it converts a camel case string into a kebab case.

"camelsHaveThreeHumps"  -->  "camels-have-three-humps"
"camelsHave3Humps"  -->  "camels-have-humps"
"CAMEL"  -->  "c-a-m-e-l"

Notes:

  • the returned string should only contain lowercase letters
Fundamentals
Strings
Regular Expressions

Stats:

CreatedOct 8, 2016
PublishedOct 8, 2016
Warriors Trained21951
Total Skips3052
Total Code Submissions96867
Total Times Completed13271
JavaScript Completions6222
Crystal Completions32
Ruby Completions909
Python Completions5465
CoffeeScript Completions19
PHP Completions773
Total Stars283
% of votes with a positive feedback rating90% of 1654
Total "Very Satisfied" Votes1356
Total "Somewhat Satisfied" Votes256
Total "Not Satisfied" Votes42
Total Rank Assessments9
Average Assessed Rank
6 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • user4316848 Avatar
  • GiacomoSorbi Avatar
  • matt c Avatar
  • smolen Avatar
  • nbeck Avatar
  • Chrono79 Avatar
  • NunoOliveira Avatar
  • ejini战神 Avatar
  • Just4FunCoder Avatar
  • farhanaditya Avatar
Ad