In Common Lisp, is there a predicate to test whether a given character is part of a string? Or more generally, if an element is a member of a vector?
Something like:
(char-in #\o "foo")
I was able to implement it as
(defun char-in (c s)
(member c (coerce s 'list)))
Is there a better way?