commonPrefix | R Documentation |
Determine the length of the a common prefix between two strings. For example: Banana and Band have a common prefix of length 3.
commonPrefix(x, y, wildcard = NULL)
x |
first string |
y |
second string |
wildcard |
a wildcard character that always counts as a match or NULL to disable. Default: NULL |
the length of the common prefix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.