Insert a character every nth position.