letisVowel(c:char)=matchc.ToString().ToLowerInvariant()with|"a"|"e"|"i"|"o"|"u"->1|_->0letvowelCount(s:string)=s.ToCharArray()|>Array.sumBy(funx->isVowelx)printfn"%d"(vowelCount"The cUnNinG fOx jumpEd over the lazy dog - twice!")
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
In F#