lisp/subr.el にある下請け関数なんで、手抜きに30ルピー。
文字列でなくても配列型なら使える実装になっているね。

(subst-char-in-string 'a 'b [a b c])

で [b b c] が返る。