lispdoc - results for substitute-if

(substitute-if new predicate sequence &rest args &key from-end (start 0)
 (end nil) (count nil) (key nil))
Function: Return a sequence of the same kind as SEQUENCE with the same elements except that all elements satisfying the PRED are replaced with NEW.
Example:
(defun remove-punctuation (string)
  "Replace punctuation with spaces in string."
  (substitute-if #\  #'punctuation-p string))
Mentioned in:
HyperSpec - Function SUBSTITUTE, SUBSTITUTE-IF, SUBSTITUTE-IF-NOT, NSUBSTITUTE, NSUBSTITUTE-IF, NSUBSTITUTE-IF-NOT
PCL - trees
Successful Lisp - chapter13
(substitute-if-not new predicate sequence &rest args &key from-end (start 0)
 (end nil) (count nil) (key nil))
Function: Return a sequence of the same kind as SEQUENCE with the same elements except that all elements not satisfying the PRED are replaced with NEW.
 Mentioned in:
HyperSpec - Function SUBSTITUTE, SUBSTITUTE-IF, SUBSTITUTE-IF-NOT, NSUBSTITUTE, NSUBSTITUTE-IF, NSUBSTITUTE-IF-NOT
Successful Lisp - chapter13