Selectively replace multiple instances of a character within a string: Difference between revisions

m
m (putting Lambdatalk at the right place, after Julia and before Perl)
Line 246:
abracadabra
{A.new
aA aB a_a3 aC aD 3a // firstsave third "a", secondas "a3", fourthand "a",restore fifth "a"it
bE // first "b"
r_r1 rF 1r // secondsave first "ra" as "1" and restore it
_r _a // restore first "r" and third "a"
}}
-> AErBcadCbFD