Description Usage Arguments Value Note Author(s) Examples
The function search for the longest common prefix between multiple strings.
1 |
data |
A vector of strings |
sep |
A character which is used to separate elements; default ("") is used to compare single characters; other useful alternatives are "/" (or "\\" in Windows) to find the longest common directory, or " " to compare words instead of characters. |
A character with the longest common initial substring
Modified from a suggestion taken from stackoverflow.
Luigi Ranghetti, phD (2017) ranghetti.l@irea.cnr.it
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.