* remove all chars repetitions in string without using extra memory