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