about | help | code help+videos | done | prefs |
Write a method that accepts a string characters and returns a string of only the vowels from the input string in the same order they were originally in. Note that the length of the resulting string must be equal to the number of vowels in the original input string. You may assume the the input string is non-empty and does not contain any uppercase letters. getVowels("ehki5so") → "eio" getVowels("63aaxu") → "aau" getVowels("wo") → "o" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 330 Post-solution available
Copyright Nick Parlante 2017 - privacy