Scieneer Common Lisp 1.3.9 online documentation

substitute new old sequence &key from-end test test-not start count end key[Function]

Returns a sequence of the same kind as sequence with the same elements except that all elements equal to old are replaced with New. See manual for details.