Find words which contains all the vowels: Difference between revisions
Find words which contains all the vowels (view source)
Revision as of 23:15, 8 January 2022
, 2 years ago→{{header|R}}: Syntax highlighting.
Not a robot (talk | contribs) (Add COBOL) |
ReeceGoding (talk | contribs) 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
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))
|