in reply to Re^2: add elements to array at certain positions
in thread add elements to array at certain positions

split the string(s) into a list of characters, use the map as shown, then join the result back together.


Perl reduces RSI - it saves typing
  • Comment on Re^3: add elements to array at certain positions