str_inventory: Make an inventory of characters in a string

Description Usage Arguments Value Examples

Description

Make an inventory of characters in a string

Usage

1

Arguments

word

a string

Value

a sorted vector of unique characters in the string

Examples

1
2
str_inventory("letters")
# c("e", "l", "r", "s", "t")

tjmahr/retrace documentation built on May 31, 2019, 3:41 p.m.