re: Daily Challenge #3 - Vowel Counter VIEW POST

FULL DISCUSSION
 

// Java

public static int countVowels(String input) {
return input.length()-input.replaceAll("(?i)[aeiou]", "").length();
}

code of conduct - report abuse