Write simple .camelCase method (
camel_case function in PHP,
CamelCase in C# or
camelCase in Java) for strings. All words must have their first letter capitalized without spaces.
camelcase("hello case") => HelloCase
camelcase("camel case word") => CamelCaseWord
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!