rmDuplicates:: input: asdfghdh ideal output: asdfgh, output:asdfghhh