chickadee » srfi-152 » string-filter

(string-filter pred string [start end]) → stringprocedure
(string-remove pred string [start end]) → stringprocedure

Filter the given substring of string, retaining only those characters that satisfy / do not satisfy pred.

Compatibility note: In SRFI 13, string-remove is called string-delete. This is inconsistent with SRFI 1 and other SRFIs.