R-program-to-get-the-unique-elements-of-a-given-string-and-unique-numbers-of-vectorR program to get the unique elements of a given string and unique numbers of vector