Function: s-replace

s-replace is a byte-compiled function defined in s.el.

Signature

(s-replace OLD NEW S)

Documentation

Replaces OLD with NEW in S.

Source Code

;; Defined in ~/.emacs.d/elpa/s-20220902.1511/s.el
(defun s-replace (old new s)
  "Replaces OLD with NEW in S."
  (declare (pure t) (side-effect-free t))
  (replace-regexp-in-string (regexp-quote old) new s t t))