The function excludes produces all of the characters in str that are not upper case or lower case letters or the numbers 0-9. If the string is empty it produces " ".
Code
(define (alphanum? c)
(or (char-numeric? c)
(char-alphabetic? c)))
example:
(excludes " " ) => " "
(excludes "@hello friend#!")=>"@#!"
in that order
How would I do this without using abstract functions such as filter etc.