6 kyu

Kebabize

6,143 of 13,078user4316848

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 Trained21701
Total Skips3036
Total Code Submissions96130
Total Times Completed13078
JavaScript Completions6143
Crystal Completions32
Ruby Completions906
Python Completions5362
CoffeeScript Completions19
PHP Completions763
Total Stars284
% of votes with a positive feedback rating90% of 1643
Total "Very Satisfied" Votes1346
Total "Somewhat Satisfied" Votes255
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