chickadee » srfi-13 » string-count

(string-count s char/char-set/pred [start end]) -> integerprocedure

Return a count of the number of characters in S that satisfy the CHAR/CHAR-SET/PRED argument. If this argument is a procedure, it is applied to the character as a predicate; if it is a character set, the character is tested for membership; if it is a character, it is used in an equality test.