#18 Convert string to camel case
Complete the method/function so that it converts dash/underscore delimited words into camel casing. The first word within the output should be capitalized only if the original word was capitalized.
Examples:
// returns "theStealthWarrior"
toCamelCase("the-stealth-warrior")
// returns "TheStealthWarrior"
toCamelCase("The_Stealth_Warrior")
'매일매일개발 > Codewars' 카테고리의 다른 글
codewars #20 The Millionth Fibonacci Kata (3kyu) (0) | 2018.04.12 |
---|---|
codewars #19 The Clockwise Spiral (5kyu) (0) | 2018.04.11 |
codewars #17 Strings Mix (4kyu) (0) | 2018.04.09 |
Codewars #16 Java format Unicode encoder/decoder (6kyu) (0) | 2018.04.06 |
Codewars #15 Bagels (4kyu) (0) | 2018.04.06 |