common_prefix | R Documentation |
Longest common prefix of a set of strings.
common_prefix(x)
x |
a character vector. |
A character vector that is the longest common substring at the start of each of the input vectors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.