duplicate charectors   finding