Skip to contents

Extract Unique Elements of chars Objects.

Usage

# S3 method for class 'chars'
unique(x, ...)

Arguments

x

a chars object.

...

further arguments passed to or from other methods.

Value

a chars object containing unique elements.

Examples

unique(chars("mississippi"))
#> [1] "misp"