Remove bit of dead code.
Replace a use of subst with a loop over the chars.