in reply to Re^2: add elements to array at certain positionsin 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.