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

m
→‎{{header|J}}: get left and right right
m (→‎{{header|J}}: more consistent indentation)
m (→‎{{header|J}}: get left and right right)
Line 123:
AErBcadCbFD</lang>
 
<tt>upd</tt> here takes four arguments -- two on the rightleft (replacement characters, original character) and two on the left right(index values for which instances to replace, and the original string).
 
=={{header|Julia}}==
6,962

edits