Function: org-roam-replace-string

org-roam-replace-string is a natively compiled function defined in org-roam-utils.el.

Signature

(org-roam-replace-string OLD NEW S)

Documentation

Replace OLD with NEW in S.

Source Code

;; Defined in /nix/store/60hpqw2cczhjli65ml5v1p4g0q2kbyhb-emacs-packages-deps/share/emacs/site-lisp/elpa/org-roam-20260425.1623/org-roam-utils.el
;;; String utilities
;; TODO Refactor this.
(defun org-roam-replace-string (old new s)
  "Replace OLD with NEW in S."
  (declare (pure t) (side-effect-free t))
  (replace-regexp-in-string (regexp-quote old) new s t t))