search for: ywelfare_group_1536

Displaying 1 result from an estimated 1 matches for "ywelfare_group_1536".

Did you mean: welfare_group_1536
2006 Nov 14
1
greatest common substring
...cally generate a nice y-axis label for this data. A good candidate is something close to "Welfare Group". Is there an easy way to compute something close to the greatest common substring? It would be nice if it also works in this case: V = c("xxxWelfare_Group_1024", "yWelfare_Group_1536", "zzzzzWelfare_Group_160") Should I iterate through all possible substrings in the first element, to see whether this substring is part of all other strings? I was hoping for some existing R function :) Thanks in advance, JeeBee.