Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

How Many Vowels

using System.Linq;
public class Program 
{
    public static int CountVowels(string str)
      => str.Count(a=>$"aeiouAEIOU".Contains(a));
}
Source by edabit.com #
 
PREVIOUS NEXT
Tagged: #How #Many #Vowels
ADD COMMENT
Topic
Name
5+6 =