R Program To Get the Unique Elements of a Given String and vectorR Program To Get the Unique Elements of a Given String and vector