Store str() of repetition in expand vars.