Skip to content

Instantly share code, notes, and snippets.

@railsstudent
Created November 13, 2016 17:38
Show Gist options
  • Save railsstudent/049386e9f9bcba8c33a8de058f3475af to your computer and use it in GitHub Desktop.
Save railsstudent/049386e9f9bcba8c33a8de058f3475af to your computer and use it in GitHub Desktop.
solution = (string) ->
# Complete me!
alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
strCamelCase = ''
for s in string
if s not in alphabet then strCamelCase += s
else strCamelCase += ' ' + s
strCamelCase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment