Find words which contains all the vowels: Difference between revisions

m
→‎{{header|R}}: Syntax highlighting.
(Add COBOL)
m (→‎{{header|R}}: Syntax highlighting.)
Line 1,324:
=={{header|R}}==
Adapting this from https://rosettacode.org/wiki/Find_words_which_contain_the_most_consonants#R is trivial.
<lang Rrsplus>dict <- scan("https://web.archive.org/web/20180611003215/http://www.puzzlers.org/pub/wordlists/unixdict.txt", what = character())
dictBig <- dict[nchar(dict) > 10]
#The following line is equivalent to sapply(c("a", "e", "i", "o", "u"), function(x) stringr::str_count(dictBig, x))
331

edits