vl-string-subst
(vl-string-subst new pattern string [start])
The string with the first occurrence of the pattern (from start) replaced by new.
(vl-string-subst "B" "A" "AXA") ; "BXA"
(vl-string-subst new pattern string [start])
The string with the first occurrence of the pattern (from start) replaced by new.
(vl-string-subst "B" "A" "AXA") ; "BXA"