Function: erc-controls-strip

erc-controls-strip is an autoloaded and byte-compiled function defined in erc-goodies.el.gz.

Signature

(erc-controls-strip STR)

Documentation

Return a copy of STR with all IRC control characters removed.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
;;;###autoload
(defun erc-controls-strip (str)
  "Return a copy of STR with all IRC control characters removed."
  (when str
    (let ((s str))
      (while (string-match erc-controls-remove-regexp s)
        (setq s (replace-match "" nil nil s)))
      s)))