Count how many vowels and consonants occur in a string: Difference between revisions
Content added Content deleted
(Add Plain English) |
m (→{{header|J}}) |
||
Line 906: | Line 906: | ||
vctally 'Forever Action! programming language' |
vctally 'Forever Action! programming language' |
||
13 13</syntaxhighlight> |
13 13</syntaxhighlight> |
||
An alternative expression for <code>consonant</code> could be: |
|||
<syntaxhighlight lang="j">consonant=: (a.#~2|'@Z`z'I.a.) -. vowel</syntaxhighlight> |
|||
=={{header|JavaScript}}== |
=={{header|JavaScript}}== |