Catrobat.IDE.Core.ExtensionMethods.StringExtensions.Count C# (CSharp) Method

Count() public static method

public static Count ( this s, char value ) : int
s this
value char
return int
        public static int Count(this string s, char value)
        {
            return s.Cast<Char>().Count(c => c == value);
        }
    }