Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 1.71 KB

112-vowel-remover.md

File metadata and controls

16 lines (15 loc) · 1.71 KB

Problem:

Create a function called shortcut to remove all the lowercase vowels in a given string.

Examples

shortcut("codewars") // --> cdwrs
shortcut("goodbye")  // --> gdby
shortcut("codewars") # --> cdwrs
shortcut("goodbye")  # --> gdby
shortcut("codewars") # --> cdwrs
shortcut("goodbye")  # --> gdby
Shortcut("codewars") # --> cdwrs
Shortcut("goodbye")  # --> gdby
shortcut "codewars" -- > cdwrs
shortcut "goodbye"  -- > gdby

Don't worry about uppercase vowels.

Solution