A function to find the longest shared substring in a character vector.
sharedSubString(x, y = NULL)
The character vector to process.
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.
sharedSubString(c("t0_responseTime", "t1_responseTime", "t2_responseTime"));
#> [1] "_responseTime"
### Returns "_responseTime"