Performs text substitution.
Returns a newly-allocated, mutable string. Its contents will be the same as st
, except
that each occurence of the before
substring will be been replaced with after
.
(let st "KEKE IS MOVE")
(prn (replace st "MOVE" "PUSH")) ; prints KEKE IS PUSH