shortest_unique_prefixes | R Documentation |
Return shortest unique prefixes
shortest_unique_prefixes(strings, min_length = 1)
strings |
A character vector |
min_length |
Minimum length of prefixes |
Character vector with shortest unique prefixes
strings = c("Abra", "Abracadabra", "Simsalabim")
shortest_unique_prefixes(strings)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.