repeatition in string