String filter(Bool(Char) p, String str)
Arguments
p: The predicate function.str: The String to filter
Usage
Each character in str is tested against the predicate p. The returned string contains those characters in str for which the predicate is true.