Description Usage Arguments Value Author(s) Examples
View source: R/sharedSubString.R
A function to find the longest shared substring in a character vector.
1 | sharedSubString(x, y = NULL)
|
x |
The character vector to process. |
y |
Optionally, two single values can be specified. This is probably not useful to end users, but it's used by the function when it calls itself. |
A vector of length one with either the longest substring that occurs in all values of the character vector, or NA if no overlap an be found.
Gjalt-Jorn Peters
Maintainer: Gjalt-Jorn Peters <gjalt-jorn@userfriendlyscience.com>
1 2 | sharedSubString(c("t0_responseTime", "t1_responseTime", "t2_responseTime"));
### Returns "_responseTime"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.