Count how many vowels and consonants occur in a string: Difference between revisions

Content added Content deleted
(easylang)
m (→‎{{header|Wren}}: Minor tidy)
Line 2,327: Line 2,327:
{{libheader|Wren-str}}
{{libheader|Wren-str}}
In the absence of any indications to the contrary, we take a simplistic view of only considering English ASCII vowels (not 'y') and consonants.
In the absence of any indications to the contrary, we take a simplistic view of only considering English ASCII vowels (not 'y') and consonants.
<syntaxhighlight lang="ecmascript">import "/str" for Str
<syntaxhighlight lang="wren">import "./str" for Str


var vowels = "aeiou"
var vowels = "aeiou"